Sync folders more options
Sync folders more options
Hello,
recent buyer of lifetime licence here .. very satisfied all round
Things I'm missing in Sync Folder function:
1. exclude folders from sync (for example don't want to sync some folders with extra large files)
2. quicker report examination: opening reports to see just what files was overwritten is quite tedious process, Full report is not sorted in some way, like 1. over, 2. new, 3. skipped .. some quick text search in report window would do the work, or probably something more "graphical"
I was long time user of FreeCommander that has this feature little more user-friendly and does have a superb thing - "compare folders", so...
3. compare folders (files in it by one of these: name, size, date, checksum) - this is quite must have for me. Or is there a way to thoroughly and automatically compare two folders in panes?
Does it make sense for you?
Thank you much
recent buyer of lifetime licence here .. very satisfied all round
Things I'm missing in Sync Folder function:
1. exclude folders from sync (for example don't want to sync some folders with extra large files)
2. quicker report examination: opening reports to see just what files was overwritten is quite tedious process, Full report is not sorted in some way, like 1. over, 2. new, 3. skipped .. some quick text search in report window would do the work, or probably something more "graphical"
I was long time user of FreeCommander that has this feature little more user-friendly and does have a superb thing - "compare folders", so...
3. compare folders (files in it by one of these: name, size, date, checksum) - this is quite must have for me. Or is there a way to thoroughly and automatically compare two folders in panes?
Does it make sense for you?
Thank you much
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync folders more options
Hi,
exclude: Check out the sync command in scripting. It offers a filter parameter to specify a list of patterns or full paths, separated by "|", used to include or exclude files or folders in/from the operation by name. Here, for example, I exclude the appdata\ folder when backing up my source code:
report: Ctrl+F opens a Find Text dialog; F3 repeats the last search.
compare: Look at Panes | Sync Select..., it might get you a little closer.
Don
exclude: Check out the sync command in scripting. It offers a filter parameter to specify a list of patterns or full paths, separated by "|", used to include or exclude files or folders in/from the operation by name. Here, for example, I exclude the appdata\ folder when backing up my source code:
Code: Select all
sync "E:\XY\XYplorer.dev\code\", "I:\bup.snap\XY-code-<date yyyy>\<date yyyymmdd> (<xyver>)\", 1, 0, 0, "ckn", 7:="-appdata\";
compare: Look at Panes | Sync Select..., it might get you a little closer.
Don
FAQ | XY News RSS | XY Twitter
Re: Sync folders more options
Thank you, Don.
report: Ctrl+F does nothing for me, no dialog pops up.
compare: I've discovered that earlier but it's "not hitting the nail in it's head" I think
- would love like to click one command that would compare the folders (and subfolders) instantly without me needing to dig through it; in the end simple report with different files would come up for example
report: Ctrl+F does nothing for me, no dialog pops up.
compare: I've discovered that earlier but it's "not hitting the nail in it's head" I think
- would love like to click one command that would compare the folders (and subfolders) instantly without me needing to dig through it; in the end simple report with different files would come up for example
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync folders more options
Find Text:
Compare folders: Well, nothing better in the store ATM. Can be scripted though.
Just saw that there might be a bug with the z-order of the windows, I'll check that.Compare folders: Well, nothing better in the store ATM. Can be scripted though.
FAQ | XY News RSS | XY Twitter
Re: Sync folders more options
yep 23.70
Last edited by mussor on 27 Sep 2022 09:29, edited 1 time in total.
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync folders more options
Click in the text box to give it focus, then press Ctrl+F.
FAQ | XY News RSS | XY Twitter
Re: Sync folders more options
I prefer a script which uses Beyond Compare or WinMerge.
The script is found here:
viewtopic.php?f=7&t=4420
I use the modified version "Execute Beyond Compare (version 1/28/2022)"
together with Beyond Compare.
The script is found here:
viewtopic.php?f=7&t=4420
I use the modified version "Execute Beyond Compare (version 1/28/2022)"
together with Beyond Compare.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: Sync folders more options
thank you for this!Horst wrote: ↑27 Sep 2022 10:57 I prefer a script which uses Beyond Compare or WinMerge.
The script is found here:
viewtopic.php?f=7&t=4420
I use the modified version "Execute Beyond Compare (version 1/28/2022)"
together with Beyond Compare.
Re: Sync folders more options
Overall goal: bi-directional sync of only a subset of a folder structure with smart deletions on the "way back".admin wrote: ↑17 Sep 2022 18:08 Hexclude: Check out the sync command in scripting. It offers a filter parameter to specify a list of patterns or full paths, separated by "|", used to include or exclude files or folders in/from the operation by name. Here, for example, I exclude the appdata\ folder when backing up my source code:Code: Select all
sync "E:\XY\XYplorer.dev\code\", "I:\bup.snap\XY-code-<date yyyy>\<date yyyymmdd> (<xyver>)\", 1, 0, 0, "ckn", 7:="-appdata\";
Scenario
(Master) Source:
d:\aDir\A
d:\aDir\B
d:\aDir\C
d:\aDir\D
Target: w:
To stay unsynced:
aDir\A, aDir\B\skip
The working "Forward": sync master source -> target:
Code: Select all
sync "d:\aDir", "w:", 1, 0, 4, "ckn", 7:="-d:\aDir\A\|-d:\aDir\B\exclSubdir";
Now, "simply" reversing the direction using "-r" as additional switch
Code: Select all
sync "d:\aDir", "w:", 1, 0, 4, "cknr", 7:="-d:\aDir\A\|-d:\aDir\B\exclSubdir";
d:\aDir\A\ or aDir\A\
and d:\aDir\B\exclSubdir or aDir\B\exclSubdir
would get deleted which is unwanted this direction.The sync manual does state:
- "All matching is done against source items, not target items." (1)
- ...
- "The filter also affects deletions in target, sync caps, preserve all item dates." (2)
According to (1) the reverse deletion is expected, but what does (2) then mean?
Given the current sync implementation is there a way to accomplish my goal?
To complicate things further there's another, longer standing wish asking for the opposite.
I don't think changing the existing semantic of the "+" and "-"-prefixes is an "easy" approach, neither is adding new bit field values to parameter delete_items.
But how about adding a new prefix "!" with the meaning of a global, direction-unaware ignore?
-
- Site Admin
- Posts: 60609
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sync folders more options
Hmm, complex. I did not spend too much time with it, but would an additional value for delete_items (bit field) help?
8 = On reverse direction (target > source) also reverse any filters (means: apply them to the target instead of to the source)
8 = On reverse direction (target > source) also reverse any filters (means: apply them to the target instead of to the source)
FAQ | XY News RSS | XY Twitter
Re: Sync folders more options
Thanks for consideration.
Citing you, it needs more thinking/rethinking on my side. ;-)
Since I'm really busy right now this can take some days.
Citing you, it needs more thinking/rethinking on my side. ;-)
Since I'm really busy right now this can take some days.