Unix Scripts - Compress Files Older then 30 days

Compress Files Older then 30 days:

for i in `find . -name '*'.* -mtime +30`
do
gzip $i
done;

 

0 comments: