Want to find files and perform massives operations on them, here are tws sample commands for unix platforms :
find -name "[filename]"
find -name "[filename]" -exec [command] '{}' \;
where [filename] and [command] should be replaced by real values. [command] is another unix command to execute on each file found. The file found is represented by '{}' in the command to execute. \; indicates to end of the command.
Ex : find -name "*.tmp" -exec rm '{}' \; -> deletes all tmp files.
find -name "[filename]"
find -name "[filename]" -exec [command] '{}' \;
where [filename] and [command] should be replaced by real values. [command] is another unix command to execute on each file found. The file found is represented by '{}' in the command to execute. \; indicates to end of the command.
Ex : find -name "*.tmp" -exec rm '{}' \; -> deletes all tmp files.