How To GZip Uncompressed Files Older Than a Week Using Find

Published Date Author: , Posted August 29th, 2014 at 4:30:07pm

find . -mtime +7 ! -name "*.gz" -exec gzip {} \;

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.