[GH-ISSUE #5617] Is it possible to blacklist all the .txt files recursively under a directory? #3047

Closed
opened 2026-05-05 09:41:39 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @YorkZ on GitHub (Jan 25, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5617

Discussed in https://github.com/netblue30/firejail/discussions/5616

Originally posted by YorkZ January 24, 2023
In Bash filename expansion, if globstar is on by:

shopt -s globstar

** can be used to match all the files recursively.

Would it be possible to blacklist all the .txt files recursively similarly, by something like:

blacklist /path/to/foo/**/*.txt

?

Originally created by @YorkZ on GitHub (Jan 25, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5617 ### Discussed in https://github.com/netblue30/firejail/discussions/5616 <div type='discussions-op-text'> <sup>Originally posted by **YorkZ** January 24, 2023</sup> In Bash filename expansion, if `globstar` is on by: ``` shell shopt -s globstar ``` `**` can be used to match all the files recursively. Would it be possible to blacklist all the `.txt` files recursively similarly, by something like: blacklist /path/to/foo/**/*.txt ? </div>
gitea-mirror 2026-05-05 09:41:39 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@kmk3 commented on GitHub (Jan 25, 2023):

Duplicate of #5616

<!-- gh-comment-id:1403705649 --> @kmk3 commented on GitHub (Jan 25, 2023): Duplicate of #5616
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3047
No description provided.