8 releases (4 stable)
1.0.3 | Aug 13, 2024 |
---|---|
1.0.2 | Oct 31, 2020 |
1.0.1 | May 12, 2020 |
1.0.0 | Mar 14, 2019 |
0.1.1 | Aug 8, 2017 |
#521 in Filesystem
42 downloads per month
7KB
86 lines
Rust library for backup-invisible files and directories
Marks a given path as excluded from backups. Currently implemented only for Time Machine on macOS.
Applications that create caches and temporary files in non-standard system locations should exclude these from backups to avoid unneccessary I/O churn and backup bloat.
Usage
It's available as a Rust library:
extern crate exclude_from_backups as efb;
efb::exclude_from_backups(&path)?;
or a CLI command:
cargo install exclude_from_backups
exclude_from_backups ~/*/target/release
lib.rs
:
Marks a given path as excluded from backups.
Currently implemented only for Time Machine on macOS.
Applications that create caches and temporary files in non-standard system locations should exclude these from backups to avoid unneccessary I/O churn and backup bloat.
Dependencies
~63KB