find mtime older than 100 days and then move to folder archive
May-22-2015 By admin
TAG : find mtime older than 100 days and then move to folder archive
Example :
Folder Original : /contents/
Folder Archive : /contents/archive
cd /contents/
find -type f -mtime +100 -exec mv -v ‘{}’ archive/ \;
all file older than 100 move to archive folder
Posted in: Linux Commandline.