Shell script to compare and delete files based on date of creation
I need to write a shell script that does the following
Shell script should check for last date of modification of the files in a particluar folder , If the file has been modified before 2 months then our shell script should move all such files to /tmp folder.
I have both RHEL4 and Solaris 9 Systems.
I am actually a new bie to Shell scripting . Can any one please help me in this regard.
Awaiting for your inputs
Thanks in advance.