08 February, 2010

How to find files newer then x-days on Linux

Find files newer than x Days on Linux - easy way
in terminal / command line

using "find" command

Code:
:~$ find * -mtime -30 | xargs ls -lh with pipe
:~$ find -atime $mtime -exec rm -f {} without pipe

No comments: