5 users online | 5 Guests and 0 Registered

How to delete files by date


This will delete the content of the specified folder without deleting folders just files.

 

find /var/Vol1/* -mtime +29 -exec rm -f {} \;

Tags: delete files by age date, How to Delete files by date range, linux
Last update:
2013-06-21 20:29
Author:
Eric P
Revision:
1.5
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

Sticky FAQs