2 ms·
> The correct command has always been `find . not* -print0 | xargs -0 ~/code/random/args.py` If you need to be portable, you can do pretty well with find ..
by fulafel 13y ago
> The correct command has always been `find . not* -print0 | xargs -0 ~/code/random/args.py`
If you need to be portable, you can do pretty well with
find ... | sed 's/./\\&/g' | xargs command
This will only break with filenames that have newlines in them.
(see http://www.etalabs.net/sh_tricks.html http://www.etalabs.net/sh_tricks.html)