Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Help with simple Automator file copy script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="PBear" data-source="post: 1396915" data-attributes="member: 249354"><p>I have a simple Automator script for updating a specified folder with files from another folder. It consists of only two actions: </p><p></p><p>1. Get Folder Contents (from the folder I drop on the Automator executable).</p><p>2. Copy Finder Items.</p><p></p><p>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).</p><p></p><p>I assumed that meant to <u>ignore</u> any existing files but, on the contrary, I found out that the script is copying <u>duplicates</u> of all the existing files -- making my target folder about 9000 files strong!</p><p></p><p>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.)</p><p></p><p>Any ideas?</p></blockquote><p></p>
[QUOTE="PBear, post: 1396915, member: 249354"] 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 [U]ignore[/U] any existing files but, on the contrary, I found out that the script is copying [U]duplicates[/U] 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? [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Help with simple Automator file copy script
Top