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

Add a wildcard operator to the inclusion/exclusion lists [Feature Enhancement] #1662

Open
alfieyoko2 opened this issue Apr 21, 2024 · 0 comments

Comments

@alfieyoko2
Copy link

Add the option to use a wildcard character (like "*") for specifying file paths in the inclusion list and the exclusion list.

Example:

Case 1: "/home/user/.cache/Theme.v1.2.3"
Case 2: "/home/user/.cache/Theme.v*"

Case 2 would include any file or directory paths whose string matches the part before the "*" operator.

This would be very useful in cases where a filename is versioned and thus changes often with updates.
For example, if you want to empty the .cache folder, but exclude certain theme cache files (which are versioned) in order to avoid the desktop crashing on cleanup, you currently have to manually re-add the file after every update because the name changed.

This wildcard operator lets you target the part of the file/directory path that stays the same between updates, removing the need to manually re-add the affected files every time a part of their name changes.

Even without the option to enter file paths directly as text in the GUI, it could be used when editing the config file directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant