July 23, 2008

Linux "find" command examples.

I use to use the following linux command serveral times for searching old files and delete it, like old backup files.

$ find . -mtime +7 -exec rm -f {} \;

The following url document enlighten me the FULL usage and understanding each options usage in detail.

http://www.radialsoftware.co.uk/index.php?option=com_content&view=article&id=12&catid=10&Itemid=14

.

No comments: