Re: Raise an error if file exists on destination

2011-12-15 Thread Henri Shustak
> I am trying to use rsync to copy files from several origins to a single > destination. I would like to detect when a file gets overwritten because it > is present with the same relative path/name in several origins: > > > Origin1: > foo/bar.txt > > Origin2: > foo/bar.txt > > Destination aft

Raise an error if file exists on destination

2011-12-15 Thread Rémi Delmas
Hello, I am trying to use rsync to copy files from several origins to a single destination. I would like to detect when a file gets overwritten because it is present with the same relative path/name in several origins: Origin1: foo/bar.txt Origin2: foo/bar.txt Destination after copy: foo/bar.t