Re: [Hampshire] Another rsync problem

Top Page

Reply to this message
Author: Damian Brasher
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Another rsync problem
Tim wrote:
> On Wed October 3 2007 11:06, Simon Capstick wrote:
>> Hi,
>>
>> Chris Dennis wrote:
>> >
>> > Shouldn't that be
>> >
>> >     rsync -avz /home/mit/oldmail/ 192.168.1.76:/home/mit/oldmail/

>> >
>> > if you're trying to send to .76 ?
>> >
>> > Also note that the trailing slashes are significant, depending on
>> > whether you want to send the directory, or just the contents of the
>> > directory -- see the man page because I'll get it wrong if I try to
>> > explain it.
>> >
>> > cheers
>> >
>> > Chris
>> >
>>
>> And if you need to connect as a different user to the one you are
>> currently logged on as then use:
>>
>> rsync -avz /home/mit/oldmail/ username@192.168.1.76:/home/mit/oldmail/
>>
>> Simon
>
> Thanks guys, once I got my colon and backslashes in the right palce it
> worked
> perfectly.
>


I got one of those switches the wrong way round Monday '-e --delete ssh'
when I should have used '-e ssh --delete' - doh :)

--
Damian Brasher
www.daip.org.uk
All mail scanned by clam-av http://www.clamav.net/