[X-Unix] Rsync mirroring w/o including all volumes

Robert Nicholson robert at elastica.com
Mon Jul 4 16:51:49 PDT 2005


Incidently,

Assuming you're using Tiger you also want to use -E to pick up  
extended attributes despite the fact that it's broken in Tiger and  
rsync frequently will bus error.

On Jul 3, 2005, at 5:35 PM, Michael Wise wrote:

> Greetings,
>
> I'm trying to use rsync with cron to do a nightly mirror of all  
> data from a tower's primary internal drive to a second internal  
> drive on the same machine.
>
> This is the command I'm using:
>
> /usr/bin/rsync -a --delete /Volumes/Drive_1/* /Volumes/Drive_2
>
>
> It is mirroring the data. but it's mirroring /*...and not /Volumes/ 
> Drive_1/*
>
> The second drive has all of /Volumes/Drive_1/* plus all of Volumes/ 
> *....such that Drive_2 has two copies of Drive_1: one at it's root  
> level and the other as a mirror of itself (/Volumes/Drive_2/Volumes/ 
> Drive_2)
>
>
> How can I make rsynch mirror only the contents of Drive_1 to  
> Drive_2? Am I overlooking something?
>
>
>
> TIA,
>
>
> --Mike
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
> Listmom is trying to clean out his closets! Vintage Mac and random  
> stuff:
>         http://search.ebay.com/_W0QQsassZmacguy1984
>


More information about the X-Unix mailing list