Subfolder filtering

Questions about Cobian Reflector
badziewiak
Posts: 12
Joined: 01 Nov 2021, 20:39

Subfolder filtering

Post by badziewiak »

Hello
Please add the ability to filter full paths or subfolders and files separately. I have a lot of tiny source codes. I'd like to discard any subfolders used at compile time, and I don't want to specify new subfolders separately.

Regards
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Subfolder filtering

Post by cobian »

This can be done as far as I know.
--
Luis Cobian
Cobian Backup's creator
badziewiak
Posts: 12
Joined: 01 Nov 2021, 20:39

Re: Subfolder filtering

Post by badziewiak »

I must be doing something wrong or it doesn't work. Can you describe how to do it?
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Subfolder filtering

Post by cobian »

Can you describe exactly what you want to exclude?
--
Luis Cobian
Cobian Backup's creator
badziewiak
Posts: 12
Joined: 01 Nov 2021, 20:39

Re: Subfolder filtering

Post by badziewiak »

Hello
All subfolders: bin, obj incl. subfolders.

W:\MAKRA\_POLIGON\C#\ROZNE
├───AC2013+
│ ├───wstawRysunkiJakoBloki
│ ├───zawijanieRysunkuWzdluzPolilinii
│ │ └───zawijanieRysunkuWzdluzPolilinii
│ │ ├───bin
│ │ │ ├───Debug
│ │ │ └───Release
│ │ │ └───Confused
│ │ ├───obj
│ │ │ ├───Debug
│ │ │ │ └───TempPE
│ │ │ └───Release
│ │ │ └───TempPE
│ │ └───Properties
│ └───zwinRysunek
│ └───zwinRysunek
│ ├───bin
│ │ ├───Debug
│ │ └───Release
│ │ ├───Confused
│ │ └───pl-PL
│ ├───obj
│ │ ├───Debug
│ │ │ └───TempPE
│ │ └───Release
│ │ └───TempPE
│ └───Properties
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Subfolder filtering

Post by cobian »

But did you read the FAQ?

viewtopic.php?f=4&t=1660
--
Luis Cobian
Cobian Backup's creator
badziewiak
Posts: 12
Joined: 01 Nov 2021, 20:39

Re: Subfolder filtering

Post by badziewiak »

I understand regular expressions a bit. I just don't know if there is total freedom in using them. I tried filtering the string "bin" and "obj", but they were still included. If filtering is done on whole paths, it should capture that string from the path.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Subfolder filtering

Post by cobian »

They are still there but empty. This is a also a FAQ. Check "Ignore empty directories"
--
Luis Cobian
Cobian Backup's creator
badziewiak
Posts: 12
Joined: 01 Nov 2021, 20:39

Re: Subfolder filtering

Post by badziewiak »

Would you add pure regular expressions to filter full paths? It will definitely help someone who knows regular expressions well. For example:

Code: Select all

(\bbin\b)|(\bobj\b)|(___Release)|(\.dll$)
It can be as a separate item on the list of options to choose from.
Last edited by badziewiak on 01 Apr 2023, 01:10, edited 2 times in total.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Subfolder filtering

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
Post Reply