Displaying 1 result from an estimated 1 matches for "origin1".
Did you mean:
origin
2011 Dec 15
1
Raise an error if file exists on destination
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.txt -> is that from Origin1 or origin2?
I know I can use the `--ignore-existing` option to make sure only the first
version is kept, or I could remove this option to keep the last one. But I
would like to be notified when this...