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

Resolve paths in exclude files? #455

Open
Technici4n opened this issue Jan 27, 2025 · 2 comments
Open

Resolve paths in exclude files? #455

Technici4n opened this issue Jan 27, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Technici4n
Copy link

Hi, I noticed that resticprofile does some path resolution for paths in the config file, but not for paths in an exclude file. It might be nice to resolve paths in the exclude file too, before it is passed to restic.

For example, source = ["~/Documents"] will resolve correctly in Windows, and exclude = ["~/Documents/something-to-exclude"] will too, but e.g. excluding ~/Documents/something-to-exclude in an exclude file will not resolve correctly.

@creativeprojects
Copy link
Owner

That would be a nice to have; but it also introduces a breaking change for existing configs 🤔

@creativeprojects creativeprojects added the enhancement New feature or request label Feb 3, 2025
@Technici4n
Copy link
Author

Maybe a candidate for v2? :P

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

No branches or pull requests

2 participants