Changes between Version 8 and Version 9 of CookBookScripts


Ignore:
Timestamp:
07/21/06 22:37:58 (9 years ago)
Author:
shields@…
Comment:

xargs is faster than forking rm for each file

Legend:

Unmodified
Added
Removed
Modified
  • CookBookScripts

    v8 v9  
    99clean_django -- a one liner that is useful when updating versions
    1010{{{
    11 find django_src/ -type f -name "*.pyc" -exec rm -f {} \;
     11find django_src/ -type f -name "*.pyc" -print0 | xargs -0 rm
    1212}}}
    1313
Back to Top