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 - Operating System
Auto-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="StevenJ" data-source="post: 1149743" data-attributes="member: 113934"><p>thanks for info.....</p><p></p><p>w.r.t. the batch file, I wrote a basic DOS batch file, and it is located on any external drive you wish to put it on. When you plug a drive in on windows, you can select an action it will carry out every time 'that particular drive' is connected. I simply set it to execute the batch file I have saved on the drive. I will look in to the folder actions, but would like to achieve this before buying an iMac!</p><p></p><p>I would have to refresh my memory with my UNIX commands, but the script would simply be 'cp' commands.....with switches only to copy updated/changed files......</p><p></p><p>e.g.</p><p></p><p>cp /switches /Users/stevenjparkes/Pictures ./ and re-direct the output to some.log</p></blockquote><p></p>
[QUOTE="StevenJ, post: 1149743, member: 113934"] thanks for info..... w.r.t. the batch file, I wrote a basic DOS batch file, and it is located on any external drive you wish to put it on. When you plug a drive in on windows, you can select an action it will carry out every time 'that particular drive' is connected. I simply set it to execute the batch file I have saved on the drive. I will look in to the folder actions, but would like to achieve this before buying an iMac! I would have to refresh my memory with my UNIX commands, but the script would simply be 'cp' commands.....with switches only to copy updated/changed files...... e.g. cp /switches /Users/stevenjparkes/Pictures ./ and re-direct the output to some.log [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Auto-Copy script
Top