Linux.com

be sure to check out -exec option

Posted by: Anonymous Coward on November 02, 2005 12:41 AM
If you want to run a particular command on each file found, specify the command with -exec and find will spawn the command processes for you, substituting each specific file in the -exec command string. Especially useful if you are unwilling to put in the effort to learn actual shell scripting (it's not that bad, really, just watch out for quoting gotchas!).

#

Return to CLI Magic: GNU find