script to delete files based on date in file name
script to delete files based on date in file name
- Subject: script to delete files based on date in file name
- From: email@hidden
- Date: Wed, 17 Jul 2002 05:55:01 GMT
I am not getting very far on writing a script that looks at all the files in series of
folders and each file name contains a
date in it of either 6 or 4 digits. I have a script that looks at the date to place the
files on a Quark page and was hoping
it would be as easy to find one to look at it and then delete those files after they are a
certain age.
Generally, how can I reference the file name containing the date, coerce it to a date and
then delete files based on teh
age, say anything older than 2 weeks old gets deleted.
I have searched for various ways, but they only deal with one folder or one file based on
modification date and that
doesn't always work correctly.
Thanks for any tips you all might be all to provide.
Heather
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.