Page 4 of 6

DirSync — Synchronize Directories

Posted: Thu 23 Jul, 2015 23:35
by Wave

Latest post of the previous page:

I test ver 0.97 far3 x86 on far 4400. Run plugin, see editor with files and folders, which can copy-move-delete to left or to right. Run plugin via menu to change direction of operations. See two messageboxes:

Incorrect or damaged …\DirSync\DirSyncRus.lng
Message 137 not found

and

Incorrect or damaged …\Utils\DirSync\DirSyncRus.lng
Message 138 not found

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 03:56
by pepak
Yep, I am an idiot - I forgot to add the last two language strings to the russian and spanish language file:

Code: Select all

"Find next older/missing on the l&eft"
"Find next older/missing on the r&ight"
I have by now updated the original archive on the web, so if you just redownload it, everything should work just fine.

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 07:59
by Wave
Thanks!

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 09:06
by John Doe

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 09:25
by pepak
Back in 2009 I wanted a synchronization plugin which didn't exist at the time. So I took the sources from FAR 1's Advanced Compare and modified them in several places to get the functionality I wanted. The result was pepak @ DirSync. Maximus5 took pepak @ DirSync, updated it for FAR 2 compatibility and released it as Maximus5 @ DirSync. Eventually he implemented some new features and also provided a MacroLib script for better control of the editor with synchronization info. But for some reason I didn't like his script and rewrote it as macro pepak @ DirSync.

Eventually I decided to reimplement the whole plugin from scratch. The result is what we discuss in this thread.

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 09:34
by John Doe
pepak wrote: rewrote it as macro pepak @ DirSync.
Is it for new or for old plugin?
pepak wrote: the whole plugin from scratch.
I suggest you to add this story and links to corresponding topic title posts (and plugin docs), and change new plugin name to somewhat like http://forum.farmanager.com/viewtopic.php?f=34&t=9726 (feel free to edit).

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 09:46
by pepak
John Doe wrote:
pepak wrote: rewrote it as macro pepak @ DirSync.
Is it for new or for old plugin?
It is for Maximus5's plugin. It is no longer relevant for my current plugin.
pepak wrote: the whole plugin from scratch.
I suggest you to add this story and links to corresponding topic title posts (and plugin docs), and change new plugin name to somewhat like http://forum.farmanager.com/viewtopic.php?f=34&t=9726 (feel free to edit).
I guess. This will be particularly interesting to handle with the PlugRing.

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 09:56
by John Doe
pepak wrote: t is for Maximus5's plugin. It is no longer relevant for my current plugin.
Ok, I just moved it to corresponding topic (russian).
pepak wrote: This will be particularly interesting to handle with the PlugRing.
Nothing special.
But please make sure that new plugin has different GUID.

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 10:05
by pepak
John Doe wrote:But please make sure that new plugin has different GUID.
I already did. I didn't keep any of the old code, including GUIDs.

DirSync — Synchronize Directories

Posted: Fri 24 Jul, 2015 10:15
by John Doe
Ok. I've just added links to russian announce: http://forum.farmanager.com/viewtopic.p ... 506#p82506

Please update your old topic yourself (add link to new plugin and hide pictures into

DirSync3 — Synchronize Directories

Posted: Sat 18 Feb, 2017 10:13
by pepak
Version 1.01
  • Fixed very long filenames from version v0.90 - the feature did not actually work.
  • The user's decision for the "delete directory" operation (Delete/Skip) is now applied to files within that directory, too.
  • Fixed incorrect redraw after pressing ESC during the synchronization phase.
  • When synchronizing directories, copy also file attributes (read-only, hidden etc.).
  • During the initial scan for differences, show the indeterminate progress status in the FAR Manager icon. It will get removed when the scan completes.
  • Refresh the panels when synchronization completes.
Download

DirSync3 — Synchronize Directories

Posted: Sun 26 Feb, 2017 14:49
by Dennis_Moore
Hello pepak! It seems that Alt+F3 in editor did not work correctly. Here is what i see after pressing that hotkey:

Image

My configuration: FAR3 b4898, DirSync 1.1.0.558, Windows 7 SP1 + Updates

DirSync3 — Synchronize Directories

Posted: Sun 26 Feb, 2017 15:00
by pepak
That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.

DirSync3 — Synchronize Directories

Posted: Sun 26 Feb, 2017 15:11
by Dennis_Moore
pepak wrote: That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.
WinMerge works fine, but by default "Command used for visual compare" is VC: [what means FAR plugin Visual Compare]. I propose to change default setting in the next release to empty line or "WinMergeU.exe" and notice about it in the readme file.

And one more request. "Command used for visual compare" did not recognize environment variables. Can you solve this? Thanks.

DirSync3 — Synchronize Directories

Posted: Sun 26 Feb, 2017 15:18
by pepak
That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).

Environment variables can be arranged, will put it in my TODO list.

DirSync3 — Synchronize Directories

Posted: Sun 26 Feb, 2017 15:26
by Dennis_Moore
pepak wrote: That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).

Environment variables can be arranged, will put it in my TODO list.
Yes, default is "WinMerge". Sorry. Maybe I was trying to use DirSync with VC file compare function [as it does AdvCmp] and forgot about it.