Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Applescript to back up USB flash drive

Applescript to back up USB flash drive
Thread Tools
genevish
Mac Enthusiast
Join Date: Jan 1999
Location: Marietta, GA, USA
Status: Offline
Reply With Quote
Sep 28, 2004, 08:39 PM
 
I have a 256 MB mini flash drive. I'd like to ave some way of automatically backup this drive to my computer whenever it's put in my computer. Is there a way to do this with Applescript? (Or any other way for that matter?)

Thanks,

-Scott
Scott Genevish
scott AT genevish DOT org
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Sep 29, 2004, 04:58 AM
 
Yes - however you may have to pay $7

http://www.grantedsw.com/p-vision/

Allows you to run scripts when devices are attached to the system.

The script would be pretty simple:

[php]
tell application "Finder"
set backUpRepository to folder "backUp" of home
set targetVol to disk "KEYFOBMINI"
duplicate targetVol to backUpRepository
end tell[/php]

Maybe you could do it for free - by using Folder Action Scripts on the /Volumes folder - but that sounds like it could go wrong.
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 05:39 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,