• 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: copy command with replacing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy command with replacing?


  • Subject: Re: copy command with replacing?
  • From: Steve Thompson <email@hidden>
  • Date: Thu, 09 Aug 2001 19:24:21 +0100

On 8/8/01 9:31 pm, "email@hidden" <email@hidden>
wrote:

> Can a 'guy use the replacing command in the finder when copying a file from
> one disk to another? I can't seem to find anything about it...
>
> I'm trying something like the following and it won't work. Errors "...
> replacing can't go after..."
>
> tell app "Finder"
> copy file "test.jpg" of desktop to folder "test folder" of desktop
> end
>

Move will move the file in the same way that dragging a file in the finder
works. If you want to leave test.jpg on the desktop while moving it to a
folder on the same disk, you should

duplicate file "test.jpg" of desktop to folder "test folder" of desktop

If you want to move test.jpg into a folder that may already contain test.jpg

Move file "test.jpg" of desktop to folder "test folder" of desktop with
replacing

HTH

Steve


References: 
 >copy command with replacing? (From: email@hidden)

  • Prev by Date: Screen height and width
  • Next by Date: Re: Folder Actions
  • Previous by thread: copy command with replacing?
  • Next by thread: Copy command with replacing?
  • Index(es):
    • Date
    • Thread