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 |
Do you want the files moved to /usr1/printbkp to also be contained in a sub-directory tree similar to their source directory? Or do you just want all files moved to the directory /usr1/printbkp?
|
Please don't post the same question more than once. Responses here:
http://www.linuxquestions.org/questi...ectory-665038/ |
All times are GMT -5. The time now is 07:06 AM. |