• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Little Help...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little Help...


  • Subject: Re: Little Help...
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 2 Nov 2006 13:56:55 -0700

On Nov 2, 2006, at 1:42 PM, 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.

This should do it:

tell application "Finder"
set the copy_target to make new folder with properties {name:(my BU ())} at folder OE_BkUps of the desktop
copy files of folder "theFolder" to the copy_target
end tell
on BU()
set curdate to the current date
set curtime to hours of curdate & minutes of curdate as text
set text item delimiters to "/"
set curday to text items of short date string of curdate
set text item delimiters to ""
set curday to curday as text
return "BU_" & curday & "_" & curtime
end BU


-- Michelle

--
"Beware the march of ideas."

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

This email sent to email@hidden
References: 
 >Little Help... (From: Don Wieland <email@hidden>)

  • Prev by Date: Little Help...
  • Next by Date: Re: Little Help...
  • Previous by thread: Little Help...
  • Next by thread: Re: Little Help...
  • Index(es):
    • Date
    • Thread