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 > Developer Center > Applescript to backup to external hd

Applescript to backup to external hd
Thread Tools
ncmason
Guest
Status:
Reply With Quote
Mar 6, 2007, 06:11 PM
 
I need an Applescript to backup my Home folder onto a backup folder on my external hard-drive. Any ideas?

Thanks,
Mason
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Mar 8, 2007, 11:14 PM
 
You'd be better off using a dedicated piece of software for that. But, if you need to use AppleScript, try calling rsync in a "do shell script" statement.
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Mar 9, 2007, 04:48 PM
 
     
ncmason
Guest
Status:
Reply With Quote
Mar 9, 2007, 04:56 PM
 
Yes, but the replies I got the first time were for Terminal. I'm looking for an AppleScript.
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Mar 9, 2007, 05:38 PM
 
AppleScript and terminal (or rather more accurately shell commands) play well with each other. You can invoke shell commands from AppleScript and AppleScript Commands from the shell.

You mentioned in your private message that you would like incremental back-up. Perhaps you might want to read-up on Rsync - and the Mac OS X GUI apps that use RSync.

rsync mac os x - Google Search
     
zro
Mac Elite
Join Date: Nov 2003
Location: The back of the room
Status: Offline
Reply With Quote
Mar 9, 2007, 07:42 PM
 
Wow. Déjà vu.

Read the man pages, too.

x-man-page://rsync
     
ncmason
Guest
Status:
Reply With Quote
Mar 9, 2007, 08:32 PM
 
Thanks for the "x-man-page://rsync" link. I still am completely unaware on how to make the command.
     
   
 
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 02:57 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.,