Page 1 of 1

DirSync — синхронизация каталогов

Posted: Mon 27 Jun, 2011 08:23
by Maximus5
Плагин для синхронизации содержимого двух директорий (только файловая система).
Показывать сводный отчет с указанием направления копирования файлов, после закрытия которого может:
* выполнить копирование более новых файлов
* удалить с панели файлы и папки отсутствующие на другой панели






http://plugring.farmanager.com/plugin.php?pid=788

Обсуждение: русское, english

Примечания модератора

Re: DirSync — синхронизация каталогов

Posted: Sun 03 Jul, 2011 23:08
by Maximus5
v0.3.7

Fix: мусор в диалоге прогресса.
Fix: CtrlH и фильтры игнорировались при копировании каталогов.
В диалоге настройки добавлена возможность отключать текущие фильтры панелей или настроить их.

Re: DirSync — синхронизация каталогов

Posted: Mon 04 Jul, 2011 07:34
by Maximus5
v0.3.8

Требуются файловые не плагиновые панели. На других плагин все равно сделать толком ничего не сможет.

Re: DirSync — синхронизация каталогов

Posted: Thu 07 Jul, 2011 22:16
by Maximus5
v0.3.9

Fix: В диалоге подтверждения перезаписи readonly файла нажатие 'Overwrite' или 'All' прекращали синхронизацию

Re: DirSync — синхронизация каталогов

Posted: Fri 11 Jul, 2014 17:21
by pepak
I guess the new DirSync3 is ready for general use. At least I couldn't find any more errors.
version 0.95

Major changes over the Maximus5's version:
  • Rewritten into Delphi.
  • Support for FAR2, FAR3. 64bit versions are also published, but these haven't been tested at all. They compile fine and don't output any warnings, but that's the limit of my tests of them. If you use them, please let me know how they behave.
  • Support for very long filenames using the \\?\ namespace. All file operations should now use this namespace.
  • All confirmation dialogs now have the "Remember" checkbox for applying the selected answer to all further confirmations of the same kind.
  • All confirmation dialogs which need the user's decision between two files now have the "Compare" button to execute the visual comparison program on the files before the final decision is made.
  • The synchronization operation no longer skips same-date files (marked as "<--> in the editor". Instead, the user is given a choice as to what to do in such a situation - overwrite the left file, overwrite the right file, skip. The main synchronization dialog shown when the editor with results is closed allows to select the answer beforehand, removing the need for confirmations later.
  • The plugin can now be started from the editor, provided that the editor contains synchronization results. In that case, a menu is shown with several useful functions (change the operation to overwrite left/right, edit file on left/right, compare the two files). This makes it easy to create keyboard macros for these tasks using CTRL+dot.
  • The editor with sync. results now responds to some predefined keyboard shortcuts: ALT+F1/F2 changes the synchronization operation to "overwrite the left/right file". ALT+F3 invokes the visual comparison program. CTRL+F1/F2 opens the left/right file in FAR's editor. These shortcuts are also displayed in FAR's keybar.
  • The "change the operation to overwrite left/right file" now also works for multiple files in a block, if a block is active in the editor.
  • Program used for visual comparison of two files is now configurable in the plugin's options. Note that you must correctly configure its ability to use the \\?\ namespace - for example, WinMerge does not use it, and thus is limited to short 260 character filenames.
  • The synchronization results have been updated to display not only the synchronization operation, but (right after the "arrows") also the reason for that decision: "F" for "file missing", "T" for "different date/time", "S" for "different size" and "C" for "different contents".
  • It is now possible to return from the synchronization dialog to the synchronization editor using the appropriate button.
  • New menu item "Show file information" in the synchronization editor's menu will show some details about the left and the right file. Keyboard shortcut is CTRL+F3.
  • When the synchronization is complete, failed synchronization items are shown in a new editor, giving you the opportunity to synchronize them again.
  • Support for the silent mode. When enabled, the plugin postpones all confirmations until after all synchronization items are processed. You can set the silent mode in the synchronization dialog, the default value can be set in the plugin's options.
  • Spanish translation by Mauro72.

DirSync — синхронизация каталогов

Posted: Tue 28 Oct, 2014 19:11
by pepak
version 0.96
  • 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.