• 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
Replace files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replace files


  • Subject: Replace files
  • From: Jim Hankins <email@hidden>
  • Date: Sun, 12 Feb 2006 16:00:40 -0500
  • Thread-topic: Replace files

How do I get this to replace existing files at the destination?

tell application "Finder"
    if not (the folder "Old Desktop" of home exists) then
        make new folder at home with properties {name:"Old Desktop"}
    end if
    move every file of the desktop to the folder "Old Desktop" of home
    move (every folder of desktop whose class is folder) to the folder "Old
Desktop" of home
end tell





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Replace files
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Validate IP Address
  • Next by Date: Re: Validate IP Address
  • Previous by thread: Re: Validate IP Address
  • Next by thread: Re: Replace files
  • Index(es):
    • Date
    • Thread