Crates.io | exclude_from_backups |
lib.rs | exclude_from_backups |
version | 1.0.3 |
source | src |
created_at | 2017-08-07 16:10:03.595911 |
updated_at | 2024-08-13 14:44:44.114523 |
description | Mark 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. |
homepage | https://lib.rs/exclude_from_backups |
repository | https://gitlab.com/kornelski/exclude_from_backups.git |
max_upload_size | |
id | 26784 |
size | 8,898 |
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.
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