resticprofile
resticprofile copied to clipboard
Resolve paths in exclude files?
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.
That would be a nice to have; but it also introduces a breaking change for existing configs 🤔
Maybe a candidate for v2? :P