Monday, January 11, 2016

Example with xargs and LS with find

Prototype for doing very large searches, with xargs opening the length of the environment to huge

find . -name "*.*" -size +1024k -print | xargs /bin/ls -lrt

find . -name "*.*" -size +1024k -exec ls -lrt {} \;

Second example does example with ls passing individual files.

http://www.unix.com/unix-for-dummies-questions-and-answers/77947-help-run-ls-command-along-find-command.html

No comments:

Post a Comment