Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude the display of some folders #283

Closed
antonellocaroli opened this issue Apr 2, 2020 · 5 comments
Closed

exclude the display of some folders #283

antonellocaroli opened this issue Apr 2, 2020 · 5 comments

Comments

@antonellocaroli
Copy link

antonellocaroli commented Apr 2, 2020

how is it possible to exclude folders when using the "type" parameter: "server_file"?

i.e. type exclude the display of some folders, type
/mnt/ramdisk*
or
ramdisk*

@bugy bugy added the feature label Apr 2, 2020
@bugy
Copy link
Owner

bugy commented Apr 2, 2020

Hi @antonellocaroli , unfortunately it's not possible at the moment

@bugy bugy added this to the 1.17.0 milestone Nov 18, 2020
@bugy
Copy link
Owner

bugy commented Mar 26, 2021

Done, no you can use excluded_files option, with a possibility of pattern matching (* for any single match or ** for recursive match).
For example:
/var/log : exclude all the files in /var/log folder and any descendants (e.g. /var/log/abc/some.log)
/user/home/*.txt: exclude any .txt files in /user/home non-recursive. (e.g. /user/home/auth.txt - excluded, /user/home/documents/cv.txt - included)
**/auth/** - exclude any files, located in auth folder (e.g. /var/auth/passwords, /user/home/.secrets/auth/secret.key)

@antonellocaroli
Copy link
Author

Hi @bugy ,

doesn't work to exclude directories, right?

@bugy
Copy link
Owner

bugy commented Jun 17, 2021 via email

@antonellocaroli
Copy link
Author

@bugy Thanks!!!

sorry works!!!

I was using a dev but not the latest one ;)

@bugy bugy closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants