0

I'm using rsync(with Cygwin) to sync 2 local folder The folder contains binary files

I'm using the following command

rsync.exe -av dir1/ dir2/

but the files in dir2 where only partially update, there are few different files

does anybody know of a problem with rsync on windows? should i use some other flags

10'xs

4

2 回答 2

2

我正在使用 rsync.exe

rsync.exe -vrt dir1/ dir2/

起初 dir1 是:

new text.txt
new text 2.txt

首先 dir2 是空的,也许,甚至不应该创建。最后 dir2 是

new text.txt
new text 2.txt
于 2010-10-17T10:56:28.347 回答
0

rsync 将跳过具有相同大小和修改日期的文件。如果您怀疑这可能是问题所在,请尝试将-I(或--ignore-times)选项添加到命令行。

于 2010-10-17T11:23:25.970 回答