I need to ls, mv, and rm if files are more than two weeks old.
There are many of archive log files with the file extension, ".arc". I want to ls, mv, and rm if 14 days have passed "as of today", and will put it onto the crontab.
Pls let me know the command (ls, mv, and rm) for the files, 14 days old.
thx much
There are many of archive log files with the file extension, ".arc". I want to ls, mv, and rm if 14 days have passed "as of today", and will put it onto the crontab.
Pls let me know the command (ls, mv, and rm) for the files, 14 days old.
thx much