View Single Post
  #2  
Old March 25th, 2007, 08:16 AM
macbri's Avatar
macbri macbri is offline
Mac (r)evolution
 
Join Date: Jun 2005
Location: One of these days, Alice....
Posts: 299
Thanks: 3
Thanked 3 Times in 3 Posts
macbri has a spectacular aura aboutmacbri has a spectacular aura about
I know this is an older question, but if you're still interested in a solution:

You could check the exit status of the mount_smbfs command. Something like:

Code:
mount_smbfs //bones@storage/Timbackup /Volumes/Timbackup
if [ $? = 0 ];
then
    rsync -vaE --delete ... etc etc.  
    umount /Volumes/Timbackup
fi
Reply With Quote