Hi all,
I am working on a new unix ksh shell script to do the following:
1. select all files older than 30 days from a directory that contain the string "MPE 0 0 0 -1 2 "
2. move these selected files to another directory.
3. Append a filename extension to each moveed filename that is moved to the new directory without changing the contents of the file.
4. Create another script, this script will remove the files from the directory that are older than 90 days. Run this script from cron.
Once again I would really appreciate your help on this script. I used to be a programmer but since I have not used my coding chops in a while I am rusty on unix programming.
Ben Prusinski
Network Administrator
I am working on a new unix ksh shell script to do the following:
1. select all files older than 30 days from a directory that contain the string "MPE 0 0 0 -1 2 "
2. move these selected files to another directory.
3. Append a filename extension to each moveed filename that is moved to the new directory without changing the contents of the file.
4. Create another script, this script will remove the files from the directory that are older than 90 days. Run this script from cron.
Once again I would really appreciate your help on this script. I used to be a programmer but since I have not used my coding chops in a while I am rusty on unix programming.
Ben Prusinski
Network Administrator