Kelly Felkins
2004-Apr-07 23:31 UTC
rsync from solaris to cygwin on xp, certain files always copied
I'm rsyncing a directory on a linux box to a win xp pro with cygwin. Some of the files are always copied, or so it appears by the progress report and the fact that a dot version of the file is created and grows to the full size before completion. Note, the source file is not changing - it is a static file sitting in a directory and is not modified. Nor is the corresponding file in the target directory. The files that are always copied are relatively large - one of them is 1.8 GB. 1) How can I tell if the file is being copied? Is there a way to ask rsync to say "file x copied". 2) How can I diagnose why these few files are being copied, and not others? This is my latest command line: rsync -ae ssh --modify-window=5 --progress --delete --relative --exclude '.snapshot' sunbox:/home/kfelkins /backups As you can see, I've tried the modify-window option. I'm also using archive. Rsync is a great tool. Thanks for your help. -Kelly
Kelly Felkins
2004-Apr-08 00:54 UTC
rsync from solaris to cygwin on xp, certain files always copied
Kelly Felkins <kellyfelkins2003 <at> yahoo.com> writes:> > I'm rsyncing a directory on a linux box to a win xp pro with cygwin...Opps. I meant to say: I'm rsyncing a directory on a *solaris* box to a win xp pro with cygwin...
Wayne Davison
2004-Apr-08 01:03 UTC
rsync from solaris to cygwin on xp, certain files always copied
On Wed, Apr 07, 2004 at 11:25:15PM +0000, Kelly Felkins wrote:> 1) How can I tell if the file is being copied? Is there a way to ask > rsync to say "file x copied".Use -v for verbose output.> 2) How can I diagnose why these few files are being copied, and not others?Use -n to tell rsync not to really do any file updates. You can then look at the output of the -v option and try to figure out why a file is listed. Hint: rsync compares the file size and the timestamp by default, so I would assume that one of those items is different on the file(s) that it is wanting to update. ..wayne..
Seemingly Similar Threads
- is there really a restart task in switchtower? How do you invoke it?
- wrong id for activerecord object when using :joins in mysql
- inexpensive ways to make a rails application highly available? mysql replication?
- Does shared hosting work? Anywhere?
- Whats the best way to do this?