exclude_from_backups

Crates.ioexclude_from_backups
lib.rsexclude_from_backups
version1.0.3
sourcesrc
created_at2017-08-07 16:10:03.595911
updated_at2024-08-13 14:44:44.114523
descriptionMark files or directories as excluded from backups (for Time Machine on macOS). Can be used to prevent caches and temporary files from bloating backups. Includes both a library interface and a basic command-line executable.
homepagehttps://lib.rs/exclude_from_backups
repositoryhttps://gitlab.com/kornelski/exclude_from_backups.git
max_upload_size
id26784
size8,898
maintainers (github:rust-bus:maintainers)

documentation

https://docs.rs/exclude_from_backups

README

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
Commit count: 14

cargo fmt