Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Perl HP-UX

By kleeusmale ·
I need help with some Perl scripting.
I need to perform diskspace cleanup.
I have :
(A) text file containing file to be deleted
e.g. File1
File1 could have more than one folders. Same as File2 & File3.
Based on this text file, I need to search through all folders with File1, File2, File3 and remove the folders if all the files in the folder is more than year old. (i.e. If one folder of File1 has one file less than a year old, then I skip to the next file, File2. If one folder of File2 contains all files more than a year,but another folder of File2 with files less than a year, I skip to File3. Only if all the folders with all files in File3 are less than a year I need to remove.

Is this doable with Perl?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums