Re: Files older than
Re: Files older than
- Subject: Re: Files older than
- From: Vince Angeloni <email@hidden>
- Date: Sat, 12 Apr 2008 15:14:44 -0500
Try something like this:
tell app "Finder" set mylist to every file of (path to desktop) whose creation date > (current date - (14 * days)) end tell
hth vince
Hello all, I have a specific circumstance where I need to delete files older than a certain age. Would there be a way to find files that are older than two weeks, for example?
This has to be a relative date. I can't say "find files created before April 1, 2008".
Thanks in advance for any assistance.
-- Regards, Alain Paradis Registered Graphic Designer
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden