Sunday, February 27, 2011

How to delete the files more than 24 hours in linux


For e.g. delete the files from /tmp/test directory

find /tmp/test -mmin +1440 -type f -exec rm -f {} \;

No comments:

Post a Comment