Wednesday, 29 May 2013

Delete files older than certain days in linux

Here following command will delete files older than 31 days in current folder.

find -ctime +31 -delete

No comments:

Post a Comment