Deleting arch files
675190Oct 1 2009 — edited Oct 1 2009Hi,
Daily we have Full backup and Hot backup running from scripts - crontab.
and right now our arch file is too many, can we delete arch file (/arch/arch1 and /arch/arch2) which are older than 30 days?
in /arch/arch1/ actually is only file older than 30 days, but /arch/arch2/ has a lot of them.
We are planning to delete them using crontab and command:
find /arch/arch1/ -mtime +30 | xargs rm -rf;
find /arch/arch2/ -mtime +30 | xargs rm -rf;
Thanks