* Recompiled with the newest version of Lazarus (Lazarus 1.6.4) with better Unicode support. Compiled a x64 executable for those who prefer it. Included the necessary XYplorer script to use XYplorer in conjunction with XYZback. Very minor changes in code. Version bump to final 1.0 as it's stable. This may be the last update since the developer of XYplorer is planning on adding syncing capabilities to XYplorer in the near future. Read 'Readme.md' for further details. Greatly updated 'Readme.md' for clarity, other notes, and how to build 'XYZback'.
XYplorer does not really have a built in directory synchronization or mirroring so just for fun, I wrote a little tool that makes it work with Zback by Davor Zorc. I chose Zback mainly because it's small (main standalone executable is 460 KB) and portable yet also powerful. Zback supports scripting, command line inputs, lots of options, and filtering by file types, dates, and more. Hopefully it's somewhat useful...
Zback by Davor Zorc's Website
http://titan.fsb.hr/~dzorc/zback.html
Basically the idea is you have two directory on the left and on the right pane that you want to mirror/sync. You can then run the script which directs the directories and mode of operation to a little helper XYZback (the meat of the functionality). You can then tweak whatever options you want such as inclusion filters or exclusion filters (however syntax useed belongs to Zback therefore filters are separated by commas), recurse sub-directories, and you could even swap the Source and Destination if you want. The resulting Zback scripting parameters are previewed in the Zback Parameters text field which is also updated on the fly every time you edit any of the other options or paths.
Image is large vertically. So depending on which XYplorer's forum theme you choose, you need to scroll down further since you may only see the 1st part of it which gives off the impression that it's the only one. Setup
Download the script XYZback.xys and copy it into <xyscripts>. Download XYZback_0.5.zip and unload the directory Zback into the <xyscripts> directory. XYZback.exe is inside the Zback folder already. The Source folder will be the pane on the left and the Destination folder will be on the right. After setting up the pane, run the script and choose whether you want to Mirror or Sync. The Preview button will open up Zback which will preview its actions which is recommended. The Run button will have Zback open up and run right away.
Zback, the software itself by Davor Zor, is also already included in the XYZback_0.5.zip with permission from him. Two things to note, Zback itself is portable and save all settings into Zback.ini. However I changed two settings that I think are good to mention. By default, Zback does not copy the files' creation times. It does copy the modification date by default though. Since I was thinking that when you sync, you want it to be an exact copy, therefore I changed the option so that it also copies over the creation date as well. You can change this setting if you want by running Zback.exe, go to the Option tab, and uncheck Set NT Creation dates, and then Save Options. Or open Zback.ini and change SetNTCreationDate to 0. The other change was changing the font to Segoe UI size 9. I'm just lazy to change that back to the default Courier New font so do whatever you want
Another thing to note. By default Zback strictly required administrative privileges which really limits the usefulness of Zback on machine that you don't have full access to. I asked the author himself about this and he provided for me a tool that can turn on/off this requirement called zb_uac. Also already included in Zback folder in XYZback_0.5.zip. Just extract it from zb_uac.zip into the same folder as Zback.exe, run it, and follow directions. I have actually already used it on the Zback.exe so you don't have to do anything unless you really want strict requirement of administrative privileges. And as per his request to give the original link, the actual download link to zb_uac is hidden from his site but can be accessed here http://titan.fsb.hr/~dzorc/zb_uac.zip.
Also, I have setup a new repository for XYZback. Currently very empty with the readme and the likes... I will update that soon... too tired now.
https://github.com/Silvernine0S/XYZback/
Anyway thank you very much to Zback's author Davor Zorc and Don for both of these wonderful tools! Also incoming rant...
Old Version Below
XYplorer Beta Club