Compare directories, copy files to specifiable directory
Posted: 2015-02-16, 15:35 UTC
Hello,
it would be great if it would be possible to compare two directories and copy files which are missing on one of both sides to a third directory and not only to one of those which are selected for comparison.
Like that:
rsync -aHxv --progress --compare-dest=dir_left/ dir_right/ dir_diff/
What do you think? Is that possible?
Cheers,
Desorganizer
it would be great if it would be possible to compare two directories and copy files which are missing on one of both sides to a third directory and not only to one of those which are selected for comparison.
Like that:
rsync -aHxv --progress --compare-dest=dir_left/ dir_right/ dir_diff/
What do you think? Is that possible?
Cheers,
Desorganizer