in reply to rm old directory

This question gets asked every so often around here, see How do I delete files based on their timestamp? from the Categorized Questions and Answers section, How do I find and delete files based on age? and use Super Search to find more examples.

Also you posted this question in the wrong part of the forum, see How do I post a question effectively? and the PerlMonks FAQ.

Martin