Hi,
I need a script which shall purge folders which are older than 30 days from the current date.
Hence for example if today is 08/22/2007 then anything which is before 07/23/2007 should be deleted.
The script needs to take account of february (leap year), 31 days etc.
An actual example shall be helpful.
The script needs to be in korn shell.
The servers on which the files are located are SUN OS Servers.
Thanks in advance
Start Free Trial