Sunday, February 07, 2010

Some Useful Unix File Finding Commands

Following are some bunch of commands that might be useful if you want to find files in unix/linux.
Large Files

Find files larger than 10MB in the current directory downwards…
find . -size +10000000c -ls

Find files larger than 100MB…

find . -size +100000000c -ls

Old Files

find . -type f -mtime 30 -ls

Find files last modified over 365days ago…

find . -type f -mtime 365 -ls

Read more: viralpatel

Posted via email from jasper22's posterous