#time-machine #backups #caches #temporary-files

bin+lib exclude_from_backups

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

5 releases (1 stable)

✓ Uses Rust 2018 edition

new 1.0.0 Mar 14, 2019
0.2.1 Aug 9, 2017
0.2.0 Aug 8, 2017
0.1.1 Aug 8, 2017
0.1.0 Aug 7, 2017

#66 in Filesystem

Download history 18/week @ 2018-11-27 35/week @ 2018-12-04 5/week @ 2018-12-11 15/week @ 2018-12-18 10/week @ 2019-01-08 1/week @ 2019-01-15 1/week @ 2019-01-22 1/week @ 2019-01-29 2/week @ 2019-02-12 2/week @ 2019-02-19 8/week @ 2019-02-26 2/week @ 2019-03-05

16 downloads per month

MIT/Apache

6KB
92 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

~64KB