Archive for September, 2006

I always forget this command….

Friday, September 15th, 2006

Typically when I want to act on a bunch of files off the filesystem, I’ll do something like:

find . -name foo |xargs
or more specifically: find . -name *.pyc |xargs rm

Sometimes this doesn’t work, especially if you’ve got crappy file names - i.e. things with quotes, apostrophes, or the like […]