Deleting files older then N days


If you have a lot of files and you want to delete a couple of them older then N days.
You can use next command

this will find files in map /somewhere files older then 10 days.

This entry was posted in CentOS, Linux Post, OS's, Scripting. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">