I need help. I have to create a script which will delete multiple directory (folders) that are two months old. Example, I have folders dated April, May, June and July. I have to delete folders April and May and retain June and July and as such that when the July month lapse, the folder June will be deleted.
There are lots of threads related to same topic.
Please use search. You can also have a look at the thread listing at the bottom of this page with the similar topic.