• 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: entire contents of folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: entire contents of folder


  • Subject: Re: entire contents of folder
  • From: "John B. Stewart" <email@hidden>
  • Date: Mon, 22 Jan 2001 17:16:27 -0500

At 1:59 PM -0500 1/22/01, carver wrote:
>Does anyone know of a way to exchange the entire contents of one folder with
>another without having to copy the contents to an intermediate folder?

Why not just swap folder names if they are at the same location, watch out for wrapped lines.

tell application "Finder"
set name of alias "Mac HD:Desktop Folder:untitled folder:" to "temp"
set name of alias "Mac HD:Desktop Folder:untitled folder 1:" to "untitled folder"
(* can't use an alias in the next line, it won't exist as a folder when compiling *)
set name of folder "Mac HD:Desktop Folder:temp:" to "untitled folder 1"
end tell


References: 
 >entire contents of folder (From: carver <email@hidden>)

  • Prev by Date: Desktop question
  • Next by Date: Re: (no subject)
  • Previous by thread: entire contents of folder
  • Next by thread: Re: entire contents of folder
  • Index(es):
    • Date
    • Thread