Page 6 of 12
Re: Synchronize 2 folders
Posted: 04 Sep 2017 20:37
by highend
what about keeping the timestamp of last sync?
I wouldn't try to complicate things so much. What if somebody uses
a different tool to sync a part of the items that were last synced
with XY: I don't want XY to do (from my perspective in such a case)
"foolish" things when this happens...
Re: Synchronize 2 folders
Posted: 05 Sep 2017 15:23
by zer0
For folder sync, I have 3 wishes at the moment:
- Allow skipping of name collisions (and do so by default unless chosen otherwise)
- Allow sync to multiple destinations simultaneously (1 source, 2+ destinations)
- Allow favourites in context menu, so I can right-click a folder and choose Sync > <list of recently-used destinations>
Hopefully it's not too much

Re: Synchronize 2 folders
Posted: 05 Sep 2017 15:49
by admin
- Allow skipping of name collisions (and do so by default unless chosen otherwise)
Already done.
- Allow sync to multiple destinations simultaneously (1 source, 2+ destinations)
Possible via scripting. Not simultaneously, but one after the other.
- Allow favourites in context menu, so I can right-click a folder and choose Sync > <list of recently-used destinations>
Well, that looks like a little too much special comfort. But something similar should be possible via scripting.
Re: Synchronize 2 folders
Posted: 05 Sep 2017 17:33
by xyplorerköln
Will there be a way to preview all file changes (even if it's just a log of a "sync simulation") prior to performing a sync?
This might help mitigate the need for a bunch of these specialized features I and others are requesting. At least if we could see the effects about to occur through sync, we could manually change the state of files (delete, move, rename, etc.) for odds-and-ends that need to be dealt with, and then run the sync when we see a sync preview that looks "clean" and satisfactory.
Would be great to be able to see such a sync preview/log before and after sync.
Re: Synchronize 2 folders
Posted: 05 Sep 2017 17:46
by admin
xyplorerköln wrote:Will there be a way to preview all file changes (even if it's just a log of a "sync simulation") prior to performing a sync?
Yes. I had planned this as a surprise, but now you asked for it.

Re: Synchronize 2 folders
Posted: 05 Sep 2017 23:36
by zer0
admin wrote:- Allow sync to multiple destinations simultaneously (1 source, 2+ destinations)
Possible via scripting. Not simultaneously, but one after the other.
Why can't these not be run in parallel? Sample use case: sync a folder on my laptop's internal drive with 2 separate external ones. My internal SSD can easily drive the speed needed to write to separate USB3.0 devices.
admin wrote:- Allow favourites in context menu, so I can right-click a folder and choose Sync > <list of recently-used destinations>
Well, that looks like a little too much special comfort. But something similar should be possible via scripting.
I don't think it's that special at all. We already have all sorts of "do X with this item" context menu options, putting Sync into it with an MRU list of destination makes perfect sense. Sync is, by definition, likely to be a frequently-occurring activity. Therefore, putting a list of MRU locations within a couple of clicks seems logical to me.
Re: Synchronize 2 folders
Posted: 06 Sep 2017 22:39
by admin
zer0 wrote:admin wrote:- Allow favourites in context menu, so I can right-click a folder and choose Sync > <list of recently-used destinations>
Well, that looks like a little too much special comfort. But something similar should be possible via scripting.
I don't think it's that special at all. We already have all sorts of "do X with this item" context menu options, putting Sync into it with an MRU list of destination makes perfect sense. Sync is, by definition, likely to be a frequently-occurring activity. Therefore, putting a list of MRU locations within a couple of clicks seems logical to me.
Yes, you are right. It will come in phase two.
BTW, I'm working on Sync non-stop. It's much more work than I first thought.

Re: Synchronize 2 folders
Posted: 07 Sep 2017 06:21
by Filehero
admin wrote:Yes, you are right. It will come in phase two.
Could the multiple-copy code be reused for
viewtopic.php?f=5&t=17824?
Hey, hearing that is my daily business, lol.
Re: Synchronize 2 folders
Posted: 07 Sep 2017 19:31
by Filehero
A huge thanks , Don.
Code: Select all
v18.30.0002 - 2017-09-07 12:31
+++ Added Sync Folders, available here:
I just did a quick test using the toolbar button to check wether it can replace my
robocopy settings. Well, I was sure it will, but the first release. I was brave and did this approval on my real backup system.
It works!
The deeper stuff I will do with scripting, but this will take some time...
I hope you've replaced the

with
Cheers,
Filehero
Re: Synchronize 2 folders
Posted: 07 Sep 2017 20:08
by admin
Great!
I'm adding some refinements to reporting currently (-> show which folders were created).
SC sync documentation comes with next beta.
Re: Synchronize 2 folders
Posted: 07 Sep 2017 20:26
by Filehero
admin wrote:I'm adding some refinements to reporting currently (-> show which folders were created).
Cool, then my question is just perfectly in scope: when I loop sync a bunch of folders will I get
one log in the end?
Re: Synchronize 2 folders
Posted: 07 Sep 2017 20:36
by admin
Uhm, no: It's one log per job.
Re: Synchronize 2 folders
Posted: 07 Sep 2017 20:52
by Filehero
admin wrote:Uhm, no: It's one log per job.
Could the log string be made an optional return value of SC sync?
Re: Synchronize 2 folders
Posted: 07 Sep 2017 21:05
by admin
Difficult.
But I could maybe write the log to some variable that you could access via SC get or <get...>, e.g. <get LastFileOpReport>. It would always contain the report from the most recent Backup, Custom Copy/Move, or Sync Folders operation.
Re: Synchronize 2 folders
Posted: 07 Sep 2017 21:35
by Filehero
admin wrote:But I could maybe write the log to some variable that you could access via SC get or <get...>, e.g. <get LastFileOpReport>. It would always contain the report from the most recent Backup, Custom Copy/Move, or Sync Folders operation.
This would be great.
Why do I want to have this?
My backups are organized in categories which are represented by the backup folder names. These names are identical in the source and target drives, so the parent paths are different for obvious reasons. When backuping the backups I simply want to iterate over the "categories" and assemble the full qualified paths on the fly. After all is done I want to have one common report.