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

Re: copy finder items


  • Subject: Re: copy finder items
  • From: Ben Waldie <email@hidden>
  • Date: Wed, 22 Apr 2009 13:37:13 -0400

Robert,

On Apr 22, 2009, at 1:25 PM, Robert Barr wrote:

The log says "copy finder items failed" "Cannot read directory contents: /volumes/Barr Robert

I also put in a 10 second pause.

If I Mount the volume manually and run the copy to finder workflow without the "get server" and "connect to server" steps it works just fine.

Does Automator do something to the contents of the server directory that mounting the server manually does not do?

Aha. I think I figured out the problem. I'm assuming that you're using the "Get Specified Finder Items" action to get the files you want to copy. If this is the case, then the issue is that the "Get Specified Finder Items" action is being passed the mounted server volume path as input. This is then being appended to the files you're getting, and the workflow tries to copy them all to the output folder. What you need to do is tell the "Get Specified Finder Items" action to ignore its input. You can do this by selecting the action in your workflow, and choosing "Action > Ignore Input" from the menu bar. So, your workflow should then be set up as follows...


* Get Specified Servers
* Connect to Servers
* Get Specified Finder Items (set to ignore input)
* Copy Finder Items

Hope this helps.

-Ben

P.S. If you're new to Automator, and you have not done so already, you may want to check out my book "Automator for Mac OS X 10.5 Leopard: Visual QuickStart Guide" (Peachpit Press). <http://www.automatedworkflows.com/books/automator_vqs.html >, as well as my video podcast series "Mac Automation Made Simple" <http://www.automatedworkflows.com/tips/podcast.html > and in iTunes.

Ben Waldie
President
Automated Workflows, LLC
610.935.0652
=============================================
  AppleScript * Automator * Workflow Automation
  Products, Training, Custom Development Services
  <http://www.automatedworkflows.com>
=============================================


_______________________________________________ Do not post admin requests to the list. They will be ignored. Automator-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >copy finder items (From: Robert Barr <email@hidden>)
 >Re: copy finder items (From: Itai Rom <email@hidden>)
 >Re: copy finder items (From: Robert Barr <email@hidden>)
 >Re: copy finder items (From: Ben Waldie <email@hidden>)

  • Prev by Date: Re: copy finder items
  • Next by Date: How to download multiple PDF files based on a date input
  • Previous by thread: Re: copy finder items
  • Next by thread: How to download multiple PDF files based on a date input
  • Index(es):
    • Date
    • Thread