Page 1 of 1

How to hide folders with special name?

Posted: 2021-05-06, 12:23 UTC
by Jas0n
I want to hide folders with special .sdr (book's name.sdr folders created by koreader, they are folders not files). I tried *.sdr, *sdr but it doesn't work. not sure wether. I have no idea how to hide these folders, pls help me. Thank you!!

Re: How to hide folders with special name?

Posted: 2021-05-06, 13:28 UTC
by nsp
For temporary hiding, you can set filter to :

Code: Select all

 *.*|*.sdr\
If you want a permanent solution, you can add it in the ignore list :
Preferences->Configuration->ignore list
add *.sdr\ in the textarea or in your ignore list file...

Re: How to hide folders with special name?

Posted: 2021-05-06, 14:56 UTC
by Jas0n
nsp wrote: 2021-05-06, 13:28 UTC For temporary hiding, you can set filter to :

Code: Select all

 *.*|*.sdr\
If you want a permanent solution, you can add it in the ignore list :
Preferences->Configuration->ignore list
add *.sdr\ in the textarea or in your ignore list file...
Thank you for your help. But *.sdr\ doesn't work on the android version total commander. Does android version needs spacial code?

Re: How to hide folders with special name?

Posted: 2021-05-06, 15:01 UTC
by Hacker

Moderator message from: Hacker

Moved to the Android forum.

Re: How to hide folders with special name?

Posted: 2021-05-06, 15:05 UTC
by Horst.Epp
Jas0n wrote: 2021-05-06, 14:56 UTC
nsp wrote: 2021-05-06, 13:28 UTC For temporary hiding, you can set filter to :

Code: Select all

 *.*|*.sdr\
If you want a permanent solution, you can add it in the ignore list :
Preferences->Configuration->ignore list
add *.sdr\ in the textarea or in your ignore list file...
Thank you for your help. But *.sdr\ doesn't work on the android version total commander. Does android version needs spacial code?
Try *.sdr/
Path seperator in Android is /

Re: How to hide folders with special name?

Posted: 2021-05-07, 06:53 UTC
by Jas0n
Horst.Epp wrote: 2021-05-06, 15:05 UTC
Jas0n wrote: 2021-05-06, 14:56 UTC
nsp wrote: 2021-05-06, 13:28 UTC For temporary hiding, you can set filter to :

Code: Select all

 *.*|*.sdr\
If you want a permanent solution, you can add it in the ignore list :
Preferences->Configuration->ignore list
add *.sdr\ in the textarea or in your ignore list file...
Thank you for your help. But *.sdr\ doesn't work on the android version total commander. Does android version needs spacial code?
Try *.sdr/
Path seperator in Android is /
Many thanks to you. It seems like android version doesn't support wildcard in hiding folders. Any rules that containing wildcard will only apply to files and won't be apply to folders.

Re: How to hide folders with special name?

Posted: 2021-05-07, 07:53 UTC
by ghisler(Author)
I have checked the sources, and indeed wildcards and file extensions are only applied to files, not to folders.
To exclude a folder, you either need to enter its name or its full path.

Re: How to hide folders with special name?

Posted: 2022-05-16, 14:01 UTC
by eyeq
ghisler(Author) wrote: 2021-05-07, 07:53 UTC I have checked the sources, and indeed wildcards and file extensions are only applied to files, not to folders.
To exclude a folder, you either need to enter its name or its full path.
No, the following command as search string in Android (Smartphone) still search in Whatsapp...
e.g. *everything*.mp3 | "WhatsApp/" "Ringtones/"
Why??
In Windows (PC) this works perfectly
Thanks for your Statement :D

Re: How to hide folders with special name?

Posted: 2022-05-16, 21:23 UTC
by ghisler(Author)
Search string in the search function? That worked for me, the two folders are excluded.
Search string in the ignore list? Sorry, the ignore list does not support exclude strings with | separator.

Re: How to hide folders with special name?

Posted: 2022-05-17, 08:27 UTC
by eyeq
Search string in the search function? -> yes, works on PC but not on Android..

When I select the 2 Folders and exclude in the ignore list then the 2 Folders will not scaned ;-)

The Question was: Is the searchengine different from PC Version to Android Version??? :shock:

Nevermind for me the solution with the ignore list is fine... :D

Re: How to hide folders with special name?

Posted: 2022-05-17, 11:32 UTC
by ghisler(Author)
For me the search string worked! Maybe you had the folders selected when opening the search?