move files of a particular directory
I recently took charge as an sys.administrator(RHEL4es). I am well versed with the linux commands but new to configure the crons...profiles... I want to move files from print directory which are say 3days old to some other directory(automatically or i run the shell every third day). Kindly give me detailed (step by step) guidance, including how to include it in the cron.
Example:
i hav files called fl1,fl3 created 3days back in /usr/pro/actuary/data/print, and /usr/pro/maker/print respectively . I want to mv these files to /usr1/printbkp.
i have somany subdirectories under /usr/pro which are again having print directories... so i want to move 3days older files of all print directories into /usr1/printbkp
|