I have a requirement to delete all files in directories named "archive" older than X days. There are multiple directories named "archive" located in various depths of the directory tree.
My question is what tool to use to find the directories? My first impulse is to use the Perl File:Find
module, but I have been embarrassed in the past finding out a shell script one-liner to do the same thing that I have written a multi-line Perl script for.