Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little Help...



Title: Re: Little Help...
On 2/11/06 21:00, "Doug McNutt" <email@hidden> wrote:

> At 12:42 -0800 11/2/06, Don Wieland wrote:
>> Create a new folder with a Date/Time Stamp (Ex.. BU_110206_1100) in a backup
>> folder with a path of /Users/DDD/Desktop/OE_BkUps/
>>
>> Then COPY all files from a folder " /Users/DDD/Desktop/TheFolder/"
>> into this new folder.
>
> That sounds like a four line shell script which is not appropriate here but. . > .
>
> I strongly recommend naming that folder "BU_061102_1100" so that it will sort
> properly by name after you have a bunch of them.
>
> Ask if you want more on a shell script after the AppleScripters have their
> say.

Sounds like a one line AppleScript to me  ;-)

tell application "Finder" to duplicate files of (desktop's folder "theFolder") to (make new folder at (desktop's folder "OE_BkUps") with properties {name:"BU_" & (get (((current date) as «class isot») as string)'s (words of it) as text)})


--
Barry
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Little Help... (From: Doug McNutt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.