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: 1149674" data-attributes="member: 113934"><p>I am fairly computer literate & have some knowledge of UNIX scripts from the past......</p><p></p><p></p><p>I have been a windows/PC user forever, but bought a Mac laptop a year ago after my PC laptop broke....brilliant decision!</p><p></p><p>Anyway, I use external hard-drives to back up my large digital library of photographs....I use a windows batch file located on the hard drive that runs automatically when I plug it in the USB port on the PC....it works perfectly.</p><p></p><p>I am wanting to ditch the PC, and move to MAC completely, but I still need to be able to have the ability to plug in a USB drive, it copy the desired directories I wish to it.</p><p></p><p>How do I get a script located on the USB drive to automatically run when I plug in a USB drive? <img src="/mac_images/images/smilies/Confused.png" class="smilie" loading="lazy" alt=":Confused:" title="Confused :Confused:" data-shortname=":Confused:" /></p><p></p><p></p><p>I actually have no idea where to start! I can figure out the 'cp' comands myself, but getting the script to 'call' in the firstplace I am lost.....!</p></blockquote><p></p>
[QUOTE="StevenJ, post: 1149674, member: 113934"] I am fairly computer literate & have some knowledge of UNIX scripts from the past...... I have been a windows/PC user forever, but bought a Mac laptop a year ago after my PC laptop broke....brilliant decision! Anyway, I use external hard-drives to back up my large digital library of photographs....I use a windows batch file located on the hard drive that runs automatically when I plug it in the USB port on the PC....it works perfectly. I am wanting to ditch the PC, and move to MAC completely, but I still need to be able to have the ability to plug in a USB drive, it copy the desired directories I wish to it. How do I get a script located on the USB drive to automatically run when I plug in a USB drive? :Confused: I actually have no idea where to start! I can figure out the 'cp' comands myself, but getting the script to 'call' in the firstplace I am lost.....! [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Auto-Copy script
Top