find command…

Again here’s a reminder about the find command. The find command is a useful for everyday work, something we all use, but forgot how important it is. An example command is show below:

# find -name ‘*.log’ | xargs tar -cvf logs.tar

‘*.log’ looks for all files with the .log suffix.
| output to pipe.
xargs runs a command.
tar -cvf logs.tar tars the files found into a logs.tar