Exclude File case sensitive?

Is there an --iexclude-file much like the --iexclude which would ignore case for ALL paths in the exclude file?

3 Likes

I was also wondering about this. Given it seems not, a feature request may be the way to go. :slight_smile:

Closing the loop https://restic.readthedocs.io/en/latest/040_backup.html#including-and-excluding-files

Perhaps I overlooked it, but I don’t see an option to exclude based on filenames, ignoring case? I saw for paths, but not filenames.

I think that it includes regex support so anything you want to be matched in a path would be possible from what it says there. Thats something you’ll have to figure out on your own but that would be the beginning path you’d might need to take. Also depending on your filesystem you might not have a case sensitive OS/FileSystem