Synchronize Dirs: custom menu commands

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Evds
Junior Member
Junior Member
Posts: 79
Joined: 2009-06-10, 11:09 UTC

Synchronize Dirs: custom menu commands

Post by *Evds » 2019-09-09, 18:36 UTC

"Compare by content" or "compare left & right" only compares the actual file content of both selected files.
It is not possible to select a plugin in the "compare contents" window to compare for example the metadata information (exif/iptc/xmp) of two image files or compare the text of two docx (zip) files.

In the file window this can be solved by creating a custom command that first extracts the needed information (for example the metadata information of the two selected images) to two new files and then starts tcmd with the command line parm to compare those two new files.

But as far as I know it isn't possible to use custom commands in "synchronize dirs".
Is it possible to add custom commands in the right click menu of the "synchronize dirs" window ?
..or add the ability to select a plugin in the "compare contents" window ?

User avatar
Dalai
Power Member
Power Member
Posts: 6701
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Synchronize Dirs: custom menu commands

Post by *Dalai » 2019-09-09, 20:26 UTC

Enable "by content" in TC's Synchronize feature and then a custom search using plugins can be added/defined. Note that this is limited to plugins, so custom commands are not possible.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Evds
Junior Member
Junior Member
Posts: 79
Joined: 2009-06-10, 11:09 UTC

Re: Synchronize Dirs: custom menu commands

Post by *Evds » 2019-09-09, 21:47 UTC

Enable "by content" in TC's Synchronize feature and then a custom search using plugins can be added/defined. Note that this is limited to plugins, so custom commands are not possible.
Hi Dalai,

The ContentCompareFiles plugins can only return an int to specify which icon must be displayed in "Synchronize directories".
That's different from right clicking in "synchronize directories" and selecting "compare left & right" which opens the "Compare contents" window where you can see the difference between the two files in a textual form.

Regards,

User avatar
Dalai
Power Member
Power Member
Posts: 6701
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Synchronize Dirs: custom menu commands

Post by *Dalai » 2019-09-09, 22:27 UTC

Well, AFAIK that's the only thing available in TC's Synchronize directories feature. If you need to know where and which differences there are in files (or their metadata), you can only compare them manually, not in Synchronize directories. However, I'm quite sure that it's possible to create scripts which can be used for such purpose - Batch, AutoHotkey, AutoIT, VBS, PowerShell ....

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Post Reply