OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Help with simple Automator file copy script


Post Reply New Thread Subscribe

 
Thread Tools
PBear

 
Member Since: Apr 20, 2012
Posts: 1
PBear is on a distinguished road

PBear is offline
I have a simple Automator script for updating a specified folder with files from another folder. It consists of only two actions:

1. Get Folder Contents (from the folder I drop on the Automator executable).
2. Copy Finder Items.

I left the option "replace existing files" unchecked because there's no point in replacing a bunch of files that already exist (we're talking about 4000-5000 files in the source folder).

I assumed that meant to ignore any existing files but, on the contrary, I found out that the script is copying duplicates of all the existing files -- making my target folder about 9000 files strong!

How do I get a command into the middle of this script to restrict the Copy Finder Items command to files that do not already exist in the target folder? (It would be even nicer if it could check for files that are older than the files being copied and actually do replace those as well.)

Any ideas?

Last edited by PBear; 04-20-2012 at 10:10 PM. Reason: Typo
QUOTE Thanks

Post Reply New Thread Subscribe


« Visual Hub | I cant open my master list on word 08 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Shortcut or simple script help needed martinielsen OS X - Operating System 6 07-24-2012 07:18 PM
Script for Zoom in MS Office Word 2008 or 2011 Lbatson21 OS X - Apps and Games 1 10-31-2011 10:39 PM
need help to amend a script so that it only runs if iTunes is running nick_harambee OS X - Operating System 1 07-20-2009 11:15 AM

All times are GMT -4. The time now is 09:36 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?