rsync general question

Posted by CaptnLenz on Server Fault See other posts from Server Fault or by CaptnLenz
Published on 2011-01-06T19:56:27Z Indexed on 2011/01/06 20:55 UTC
Read the original article Hit count: 320

Filed under:
|

I'm trying to use rsync.

At first, everything looks very good:

rsync -Pniahv -e ssh /home/xxx/Videos/ [email protected]:"/shares/Public/Shared\ Videos/" --stats

...
<f+++++++++ Serien/blah.avi
<f+++++++++ Serien/blah S01E01 
<f+++++++++ Serien/blah - S01E02
<f+++++++++ Serien/blah - S01E03 
<f+++++++++ Serien/blah - S01E04
<f+++++++++ Serien/blah - S01E05 
<f+++++++++ Serien/blah - S01E06 
<f+++++++++ Serien/blah - S01E07
...

Number of files: 232
Number of files transferred: 223
Total file size: 118.24G bytes
Total transferred file size: 117.51G bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 9.46K
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 10.18K
Total bytes received: 712

After that, i copied some of the files manually and runned rsync again in dry mode:

rsync -Pniahv -e ssh /home/xxx/Videos/ [email protected]:"/shares/Public/Shared\ Videos/" --stats

...
<f..tpo.... Serien/blah.avi
<f..tpo.... Serien/blah S01E01 
<f..tpo.... Serien/blah - S01E02
<f..tpo.... Serien/blah - S01E03 
<f..tpo.... Serien/blah - S01E04
<f..tpo.... Serien/blah - S01E05 
<f..tpo.... Serien/blah - S01E06 
<f..tpo.... Serien/blah - S01E07
...
Number of files: 232
Number of files transferred: 223
Total file size: 118.24G bytes
Total transferred file size: 117.51G bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 9.46K
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 10.18K
Total bytes received: 712

Why hasn't changed something in the --stats, although only the permissions and the timestamp have to be updated and not the full files need to be copied?

© Server Fault or respective owner

Related posts about linux

Related posts about rsync