Re: applescript-users digest, Vol 2 #841 - 13 msgs
Re: applescript-users digest, Vol 2 #841 - 13 msgs
- Subject: Re: applescript-users digest, Vol 2 #841 - 13 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 06 Jul 2001 21:21:03 -0400
- Organization: [very little]
>
Date: Fri, 06 Jul 2001 10:45:02 -0400
>
From: email@hidden
>
To: email@hidden
>
Subject: Date Created, Modified
>
>
Hi There -
>
I've been reading this forum for a while and am interested in writing a few scripts, one being an auto backup for certain file types. Can I use the Date Modified in the Finder to help me put those files in a list to be duplicated? If so, what's the best method? I have a modicum of programming experience (JavaScript, HTML, VisualBasic, etc.) but AppleScript kind of confuses me. Thanks
This uses a command from the Akua Sweets scripting additions to extract
files from a container based on file type and modification date:
set fileList to the entries in (choose folder) [optn-L]
whose types are in {"SPn3"} [optn-L]
that were modified after (current date) - (2 * days) [optn-L]
to a depth of -1 as alias
(Where you see "", substitute the AppleScript continuation character.)
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com"
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[7/6/01 9:20:25 PM]