DirSync3 — Synchronize Directories

Here you can discuss about your favorite plug-in.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Latest post of the previous page:

Well, for one thing, I have just discovered an Access Violation which I would like to fix first :-)
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Version 0.93: http://www.pepak.net/files/far/dirsync3-0.93.zip
  • Error messages in case of an exception are shown in red.
  • Fixed an Access Violation at the end of synchronization if Silent Mode was used.
  • Silent Mode wasn't working correctly - in the second pass (the one in which dialogs are shown), all files were synchronized again, regardless of their success in the first pass. In fact, files which were missing on one panel and were correctly copied, would require an overwrite confirmation.
I wonder: Did anyone try the 64bit version of the plugin? Does it work at all?
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Version 0.94: http://www.pepak.net/files/far/dirsync3-0.94.zip
  • Silent Mode wasn't working correctly in case file/directory copy/erase failed (e.g. if one directory was a junction targetting a non-existent directory).
  • Silent Mode wasn't working correctly in case of <--> differences.
  • The "Copy/Erase Failed" dialog now has button "Skip All" to ignore this error for all future items.
A bugfix release for the silent mode. I hope this is the last "beta" before I can announce the plugin in the main forum. Further development depends on whether my request for EE_CANCLOSE event can and will be implemented - I would like to implement filters, e.g. "show all <<== differences" or "show only differences for this filetype".
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

URL fixed.
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Re: DirSync — Synchronize Directories

Post by Mauro72 »

A Spanish translation...
DirSyncSpa.lng.7z
(1.88 KiB) Downloaded 287 times
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Thanks, will be included in the next version.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Version 0.95: http://www.pepak.net/files/far/dirsync3-0.95.zip
  • Spanish translation by Mauro72.
  • After changing the direction of a block, the cursor remains where it was before starting the change.
  • Reworked the editor's event handling to be more powerful and easier to understand. Hopefully this didn't break anything.
  • After a synchronization is finished, if there are any unsynchronized items, then the list of such files is displayed again. The same is done in case a synchronization is stopped by the Cancel button. You can exit the synchronization by pressing Cancel on the "what to do" dialog.
  • Separated the deletion confirmations for files and directories (i.e., it is now possible to select "delete all" for files but "ask" for directories).
  • Fixed the non-working keyboard shortcuts in editor if used from FAR2.
AleXH
Posts: 1000
Joined: Sun 12 Apr, 2009 05:21
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by AleXH »

Bad idea to use two different names, DirSync — Synchronize Directories, besides confusion they besides are in the different ends of the menu (F11) that is very inconvenient.
User avatar
HaRT
Moderator
Posts: 10823
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Re: DirSync — Synchronize Directories

Post by HaRT »

AleXH wrote:they besides are in the different ends of the menu (F11) that is very inconvenient.
Use menu filtering: [b]CtrlAltF[/b].
Фар есть инструмент, а не нянька. © 2009 DrKnS
AleXH
Posts: 1000
Joined: Sun 12 Apr, 2009 05:21
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by AleXH »

HaRT wrote:
AleXH wrote:they besides are in the different ends of the menu (F11) that is very inconvenient.
Use menu filtering: [b]CtrlAltF[/b]
facepalm2 Bad usability.
Why is not DirSync — Directories Synchronize?
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: DirSync — Synchronize Directories

Post by pepak »

Because "Directory Synchronize" is not a gramatically correct name, and because historically I chose "DirSync" for the shortcut.

If it is a problem for you (don't see why, but people are different), you can always a) rename the files, or b) change the language file. Problem is solved in both cases.
AleXH
Posts: 1000
Joined: Sun 12 Apr, 2009 05:21
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by AleXH »

Directories Synchronization?
Programming languages have very bad literary English, but it use "as is", it is important, that it is convenient.
User avatar
John Doe
Бюрократ
Posts: 13807
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 73 times
Been thanked: 426 times
Contact:

DirSync — Synchronize Directories

Post by John Doe »

pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

DirSync — Synchronize Directories

Post by pepak »

Presumably because I forgot about the older one when announcing the new one. Or something. No reasonable reason that I am aware of.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

DirSync — Synchronize Directories

Post by pepak »

Version 0.96 http://www.pepak.net/files/far/dirsync3-0.96.zip
(seems that I forgot to announce this version back in October 2014)
  • Fixed the incorrect behavior of "selected items only" option: If a file was selected on one panel only, it would be marked as missing on the other panel. For correct function, you needed to select the file on both panels. Now it suffices to select the file on one panel.
  • Fixed display of "..\*" difference when comparing a root of some drive with a non-root directory.
  • Display a total progress bar in the tray area for synchronization. The progress is based on the number of processed lines compared to the number of all lines, not on the size of the respective files or directories; this is done to prevent unnecessary slow calculations.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

DirSync — Synchronize Directories

Post by pepak »

Version 0.97 binaries, source code
  • Changed the way "Remember" checkbox works: Now it is directory-specific, i.e., it only works for a given directory and its subdirectories. For example, suppose that you are synchronizing drives C:\ (source) and D:\ (destination). When syncing file C:\SomeDir\a.txt, an overwrite confirmation dialog pops up. You want to overwrite the destination file, as well as the thousand other files in the C:\SomeDir directory, but you don't want to overwrite files in C:\Windows without confirmations. In the previous versions, you were out of luck - you could either remember "Overwrite" for all files or for no files. In 0.97, you can remember "Overwrite" for directory "C:\SomeDir" and its subdirectories, but keep the default "Ask me" for all other directories. If you wanted to remember "Overwrite" for all directories, you could simply empty the "remember directory" editbox, or perhaps change it to "C:\".

    As long as the "Remember" checkbox is focused, you can use the following keyboard shortcuts:

    Backspace ... Remove the last path element from the directory (i.e., remember the selection for the parent directory of the currently selected directory).
    Delete ...... Set the directory to en empty string (i.e. remember the selection for all directories).
    F5 .......... Reset the directory to its original value, e.g. if you mistakenly press Backspace or Delete, undo the change.

    The original behavior (with the same "Remember" setting for all files and directories) can be restored by activating the "Global remember" option in the Synchronize Options dialog; the default value can be set in the Plugin Options.
  • While adding the previous feature, I also fixed some illogical behavior of the "Remember" checkbox. E.g., if you confirmed that you wanted to delete a directory, the plugin would still ask for confirmation before deleting files within that directory.
  • Removed the options "Show report of found differences" and "Display a message if no differences were found". Both of these date back to the days when the plugin was based on Advanced Compare and don't really make much sense as far as DirSync is concerned - they should be enabled all the time.
  • Added option "Select differences on both panels". When unchecked (the default state), differences are only marked on that panel which contains the newer version (which is useful if you intend to do something other than just the synchronization with these files). When checked, differences are marked on both panels, just like it used to work with the Advanced Compare plugin.
  • The synchronization editor got a new functionality to locate the next difference of a given type. Currently available are:

    ALT+F5 ... Locate file missing on the left, file older on the left, or files different but of the same age.
    ALT+F6 ... Locate file missing on the right, file older on the right, or files different but of the same age.

    These functions are also available from the plugin menu, to facilitate their re-mapping to different keys through a macro.
  • The plugin no longer appears when F11 is pressed in a dialog.
Post Reply

Return to “General Plug-In Discussions”