Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux delete files older than specific date

find /path ! -newermt "YYYY-MM-DD HH:MM:SS" | xargs rm -rf
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #delete #files #older #specific #date
ADD COMMENT
Topic
Name
4+6 =