Page 1 of 1

Compare directories, copy files to specifiable directory

Posted: 2015-02-16, 15:35 UTC
by Desorganizer
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

Re: Compare directories, copy files to specifiable directory

Posted: 2015-02-16, 19:24 UTC
by milo1012
Desorganizer wrote:Is that possible?
Erm, it is possibly already.

When you click on "Synchronize", you get the Dialog box: Synchronize,
where you can select the paths (destinations) for both sides.
You even have a "choose folder" dialog there.
TC will copy files to the destination you enter here, including the path structure!

What might be missing is some kind of "default" dir you may keep to automatie the tasks,
but I never needed that, since I carefully check what I want to do anyway (before starting the sync task).