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.