Selasa, 28 Januari 2020

How to move file after more than some days with command line linux

  Tidak ada komentar
Find file more than 90 days and move it to specified directory
[email protected] wmb-archives $ sudo find /opt/wmb-archives/ -name "*.gz" -type f -mtime +90 -exec /bin/mv '{}' /disk2/backup-wmb-archives/ \;

Tidak ada komentar :

Posting Komentar