Re: the protect flag - P doesn't work with --relative option ?

2009-08-03 Thread paresh masani
destHost:/tmp/mydir/2008 sending incremental file list new/ deleting new/mydir3/ sent 76 bytes received 16 bytes 16.73 bytes/sec total size is 0 speedup is 0.00 Thanks, Paresh On Tue, Aug 4, 2009 at 12:55 AM, paresh masani wrote: > Hi, > > Basically, I want to preserve some of direc

the protect flag - P doesn't work with --relative option ?

2009-08-03 Thread paresh masani
Hi, Basically, I want to preserve some of directories on destination side conditionally and hence, I choose to use --filter option mentioned in rsync man pages. I noticed that --filter option works as expected when I don't have --relative option used but in below case it doesn't work. rsync -avz

Re: Possibly bug in rsync-3.0.6 when spaces are there in destination path

2009-07-28 Thread paresh masani
Thanks...that's correct. On Tue, Jul 28, 2009 at 5:11 PM, Matthias Schniedermeyer wrote: > On 28.07.2009 16:46, paresh masani wrote: > > ... > > let me know if I am missing something obvious. > > Option "-s" a.k.a. "--protect-args" is exactly for

How could be "total transferred file size" more than "total file size" ?

2009-07-28 Thread paresh masani
Hi, Please see below rsync-3.0.6 statistics. Number of files: 109651 Number of files transferred: 7013 Total file size: 6426699145 bytes Total transferred file size: 7531020054 bytes Literal data: 2060328093 bytes Matched data: 5472534579 bytes File list size: 3209170 File list generation time: 0

Possibly bug in rsync-3.0.6 when spaces are there in destination path

2009-07-28 Thread paresh masani
The below command works perfectly and it creates "test file" on destination host. rsync -avz /tmp/test\ file destination:/tmp/ sending incremental file list test file sent 91 bytes received 31 bytes 27.11 bytes/sec total size is 0 speedup is 0.00 The below two command doesn't work. The rsync

Re: Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
Got it work with single slash. :-) # /usr/local/bin/rsync --archive /u/masanip/ACH/test\ file /tmp/mydir/ On Sun, Jul 5, 2009 at 2:34 AM, paresh masani wrote: > Please note that double quates is working but I want to make it work with > "\\\". > > For example, ==> /usr/

Re: Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
;== not. Thanks. On Sun, Jul 5, 2009 at 2:29 AM, paresh masani wrote: > Hi, I am trying to transfer a file that has spaces in its name. The rsync > gives me below error. Am I doing anything wrong? > > #ls -l /tmp/test\ file > -rw-rw-r-- 1 xxx xxx0 Jul 5 02:23 /tmp//te

Rsync with spaces in source or destination path

2009-07-04 Thread paresh masani
Hi, I am trying to transfer a file that has spaces in its name. The rsync gives me below error. Am I doing anything wrong? #ls -l /tmp/test\ file -rw-rw-r-- 1 xxx xxx0 Jul 5 02:23 /tmp//test file # /usr/local/bin/rsync --archive /u/masanip/ACH/test\\\ file /tmp/mydir/ rsync: link_stat

Re: difference between --no-implied-dir abd --keep-dirlinks ?

2009-06-30 Thread paresh masani
Thanks Wayne; I understood your point but two more questions arise from details given by you is, if I have --keep-dirlinks specified but not --no-implied-dir then also it sends directory attributes, and the destination is forced to match that results into losing destination symlinks? I have tested