Sync folders more options

Features wanted...
Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Sync folders more options

Post by Filehero »

Hi Don,
admin wrote: 01 Dec 2022 07:47 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)
I think that would do the job, define an overall ignore pattern for copy and delete operations.
sync_delete.png
sync_delete.png (33.46 KiB) Viewed 361 times

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Sync folders more options

Post by Filehero »

Thanks, Don. :D

admin
Site Admin
Posts: 60288
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Sync folders more options

Post by admin »

So, should it be controlled by this new flag:
8 = On reverse direction (target > source) also reverse any filters

or just work when the "r" switch is passed?

(I'd say the latter.)

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Sync folders more options

Post by Filehero »

It seems I'm confused as I thought the new SyncFilterGlobal already provides the implementation. :oops:

I have no real personal preference but would opt for the more obvious (less support causing) way. This would point to the
8 = On reverse direction ... approach. Maybe some others have diffenerent prefs.

The new global snyc filter overrules any filter in a SC sync call, right?

admin
Site Admin
Posts: 60288
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Sync folders more options

Post by admin »

Filehero wrote: 05 Dec 2022 14:37 The new global snyc filter overrules any filter in a SC sync call, right?
No, it does not overrule, it is added to the filter you pass via parameter.

admin
Site Admin
Posts: 60288
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Sync folders more options

Post by admin »

As for the reverse filter request, I have to decline it for now. Just no time to think through all the consequences.

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Sync folders more options

Post by Filehero »

OK. Lack of time is something I'm surely an expert in.

Post Reply