-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Relevant specification: https://bford.info/cachedir/
This is a feature request for an optional configuration flag, named exclude-cachedirs (name might be changed at the discretion of impelementors), that would automatically exclude any directory containing a file named CACHEDIR.TAG with the first 43 octets consisting of the following ASCII string verbatim: (the aforementioned string is sourced from the official specification linked above, read it for more info)
Signature: 8a477f597d28d172789f06886806bc55
This tag is used by several utilities, including the Rust package manager Cargo, to mark directories that do not require any sort of backup and only contain cache data (or easily reproducible data). While one could set a nodump attribute on it, Cargo (and other utilities adhering to the specification) already express their recommendation in form of the aforementioned tag file, therefore optional support for it might prove beneficial for Tarsnap.