Hello, I am using this to sync two dir rsync -a -v -r orig/ new \ --exclude "d.zip" \ --exclude "a1" Now, how can I prevent files in the orig dir from overwriting newer file in the new dir? -- OOzy Ubuntu-Feisty
On Tue 04 Sep 2007, OOzy Pal wrote:> > I am using this to sync two dir > > rsync -a -v -r orig/ new \ > --exclude "d.zip" \ > --exclude "a1" > > Now, how can I prevent files in the orig dir from overwriting newer > file in the new dir?A simple search for "newer" in the manpage shows as first hit: -u, --update skip files that are newer on the receiver Paul Slootman