Tuesday, May 26, 2009

Find Quickly

find directory-path -name "*" -mtime -file-age -print

Example. Suppose you want to find the files which are created in last 5 days in /tmp directory your command will be.

find /tmp/ -name "*" -mtime -5 -print

No comments:

Post a Comment