Hands-on task
Pack up outdated exports
The /srv/exports directory keeps swelling with daily CSV exports. Pack all .csv files older than 30 days into the archive /root/exports-old.tar.gz and delete the originals. Leave newer exports and files of other types where they are.
- find
- -mtime
- tar
- gzip
- archiving by age