Re: entire contents of folder
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