• 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
Copy folder to the root of a server volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copy folder to the root of a server volume


  • Subject: Copy folder to the root of a server volume
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 24 Mar 2010 14:33:14 -0500

I've been spinning my wheels trying to copy or duplicate a folder to the root of a server volume and I keep getting the error message "can't make string into folder"

Finder got an error: Can’t make "'/Volumes/Assets/'" into type folder.

Does anyone know the proper way to do this? 

I'm trying it this way:

set mySourceFolder to pOptimizedPNGPath
set myTargetFolder to (the quoted form of POSIX path of "Volumes:Assets:") 

-- copy files
tell application "Finder"
duplicate mySourceFolder to myTargetFolder
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Copy folder to the root of a server volume
      • From: Emmanuel LEVY <email@hidden>
  • Prev by Date: Re: file written from scratch
  • Next by Date: Re: Copy folder to the root of a server volume
  • Previous by thread: Re: file written from scratch
  • Next by thread: Re: Copy folder to the root of a server volume
  • Index(es):
    • Date
    • Thread