0

How to use find command for removing old files

How to use find command for check and remove the old files into the directory

find command find files Add a comment
lincoln
asked Oct 10 2017

Answer

0

you just use following command for remove the last 10 days files,

find /directory/path/ -mtime -10 -type f -exec rm -rf {} \; 
Add a comment
piraisudanrajendran
asked Oct 10 2017
edited Oct 05 2018
Post your Answer