--remove-source-files

2009-06-02 Thread César Tejeda Hernández
Hello all, I am using rsync version 3.0.3 protocol version 30, and I was wondering if I could use --remove-source-files option in this fashion: I use a crontab to dayly backup data, something like: rsync -tai --remove-source-files --ignore-existing --no-g --no-o --no-p u...@source:ope

Re: How to push files from Linux to Windows

2009-06-02 Thread Cameron Laird
On Tue, Jun 2, 2009 at 9:25 AM, Roy Sigurd Karlsbakk wrote: > On 2. juni. 2009, at 15.46, kschw...@embraer.com.br wrote: > > >> Hi, >> >> I am newbie on rsync. >> I want to push files from a rsync repository on a Linux machine >> (hostname=myserver) to some Windows machines (hostname=mydesktopn, w

Re: How to push files from Linux to Windows

2009-06-02 Thread Roy Sigurd Karlsbakk
On 2. juni. 2009, at 15.46, kschw...@embraer.com.br wrote: Hi, I am newbie on rsync. I want to push files from a rsync repository on a Linux machine (hostname=myserver) to some Windows machines (hostname=mydesktopn, where n is a sequence number to identify the Windows PC) to force update

How to push files from Linux to Windows

2009-06-02 Thread kschwarz
Hi, I am newbie on rsync. I want to push files from a rsync repository on a Linux machine (hostname=myserver) to some Windows machines (hostname=mydesktopn, where n is a sequence number to identify the Windows PC) to force updates of the files into C:\mypath\to\files. Is there any way to do tha

Re: Which function in generator trigger the file transfer?

2009-06-02 Thread Daniel.Li
I'm new to rsync, just read little of codes right now. I have read the pipe line would be "generator → sender → receiver". But I didn't find where rsync makes sure that the file is going to be transfered (time stamp/file checksum). A. Is there anyone familiar with the code, can give me s

RE: Difference between rsync -r S1 S2 T and cp -r S1 S2 T

2009-06-02 Thread Tony Abernethy
Dunno for sure, but I'd expect differences if S1 is /dev Simple case, a copy is just a copy. Edge cases, there's lot of room for differences in exactly what happens when things are not exactly perfect. Many times I use rsync because I know what it does and I'm not exactly sure what cp will do. Th

Which function in generator trigger the file transfer?

2009-06-02 Thread Daniel.Li
Dear List, I checked the function "generate_files", which might be simply stand for generator, but didn't find where triggers the file transfer. As receiver will use "read_ndx_and_attrs" to read iflags to judge if it's need to be transfered? If I'm wrong, please correct me. Can anyone help to po

Difference between rsync -r S1 S2 T and cp -r S1 S2 T

2009-06-02 Thread Nobuko Three
The manual says rsync can be used as an improved cp command. If S1 and S2 are (local) source files or directories and T is an (local) existing directory, is it safe to think that $ rsync -r S1 S2 T does the same thing as $ cp -r S1 S2 T , assuming no trailing slashes in S1, S2? -- View this mes