On Sun, Apr 8, 2012 at 4:25 PM, shacker <shac...@birdhouse.org> wrote: > Russell's response is correct, but speaking of stale *.pyc files that > may occasionally bite you, try putting this in your bash aliases: > > alias delpyc='find . -name "*.pyc" -print0 | xargs -0 rm -rf' > > Then you safely run "delpyc" from the top level of your project at any time
Minor nit; .pyc files are, well, 'files', and so should not need recursive or forced rm. Hence: alias delpyc='find . -type f -name "*.pyc" -print0 | xargs -0 rm' Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.