Hi everyone,
I am only new to this Perl programming world and I am having problems with the script I am writing.
The program is supposed to search a number of specified directories for files with certain names or file type and that are older than 30 days and then move them to an archive folder. Once inside the archive folder, any files greater than 60 days are permanently deleted from the directory.
The problem is I only want to process files with particular filenames and not others. No matter what way i write my code, it either sees every file and processes all files, even the ones I want to exclude, or it doesnt process any files.
Can anyone help me on this???
I can post up my code if needed....
Any help is much appreciated guys!!
Cheers
Cara