Counting & trashing
Counting & trashing
- Subject: Counting & trashing
- From: Bernard Azancot <email@hidden>
- Date: Tue, 13 Jul 2004 11:16:16 +0200
Hello Scripters !
I am trying to write a script that performs the following tasks:
1 - count the folders in a container backup folder
2 - if the total number of folders is > 15, select & delete the
exceeding older folders .
For my information, I would like to know what this script could become
if I want to do the same thing using now a time criteria:
- select folders whose creation date is < today's date minus 15 days,
an delet them.
Thanks in advance to bring your lights to a perpetual newbie.
_______________________________________________
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.