Quote:
Originally Posted by bztian
oh btw - When you send in the -exec command with the ls -(options) command, why do you need to add the "{} \;"?
|
The {} gets replaced with the found file's name, and the \; shows where the
-exec command line ends, so you can continue to specify other options to
find.
You could even have multiple
-exec actions:
Code:
find . -type f -exec ls -l {} \; -exec touch {} \;