Linux How to..

Linux How to ,Share Knowledge

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

Comments are closed.