mac backup script in leopard


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting mac backup script in leopard
# 1  
Old 06-18-2008
mac backup script in leopard

Hi all

I had a nice simple backup script on my mac running Tiger. I used an Automator 'Run Shell Script' command that loaded psync and backed up one directory on an external drive to a directory on another external drive. This was the command

/usr/local/bin/runpsync 0 0 0 '/Volumes/PORT80/Data Transfer' '/Volumes/BILL RAID/iPod Backup'

It only copied updated files, so it was fast and suited my needs very nicely. Unfortunately, psync no longer appears to work in leopard so I am looking for a new solution that is equally simple. I have checked out RSyncX and it seems very close to what I want but I can't work out how to extract a similar shell script to the one I had working before

Can anyone help?

Thanks in advance

PS I know very little about shell scripting
# 2  
Old 06-18-2008
Quote:
Originally Posted by Billy T
Hi all

I had a nice simple backup script on my mac running Tiger. I used an Automator 'Run Shell Script' command that loaded psync and backed up one directory on an external drive to a directory on another external drive. This was the command

/usr/local/bin/runpsync 0 0 0 '/Volumes/PORT80/Data Transfer' '/Volumes/BILL RAID/iPod Backup'

It only copied updated files, so it was fast and suited my needs very nicely. Unfortunately, psync no longer appears to work in leopard so I am looking for a new solution that is equally simple. I have checked out RSyncX and it seems very close to what I want but I can't work out how to extract a similar shell script to the one I had working before

Can anyone help?

Thanks in advance

PS I know very little about shell scripting
Well, there's plain old rsync which can be called from the command line and after a few, shall we say 'interesting' problems with it in Tiger Apple seem to have a stable version in Leopard. It also now properly handles resource forks which as a Mac user is very important (though getting less so). man rsync reveals that '-E' is the important option here.

There's also the most brilliant Carbon Copy Cloner from the venerable Mike Bombich. Don't ask me about it's scriptability though. Having said that his site is just about the last word when it comes to imaging etc. on the Mac. I'm sure you'll find something there to help you.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. OS X (Apple)

Use a Serial Console with Mac OS X Leopard

I'm trying to use an old Commodore 128D as a terminal to access OS X's shell via a serial port. I've used 'screen' and 'zterm' to ensure the two machines are successfully interfaced. Instructions for opening up the serial console on other Unix-y operating systems don't work with OS X Leopard. ... (3 Replies)
Discussion started by: joecassara
3 Replies

2. OS X (Apple)

loading MAC X 5.0(leopard) on a X86 laptop

I want to install MAC X 5.x on my T60 Lenova laptop. I have the Original Mac X 5.0 installation media. I tried to install it on a blank hard disk in my laptop but it doesn't work. On the internet I found sites that offer torrent downloads but I can't use torrent downloads on my laptop. (Corp... (1 Reply)
Discussion started by: mndavies
1 Replies
Login or Register to Ask a Question