tmi

command module
v0.0.0-...-b95e2d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

README

tmi

tmi is a macOS utility for managing items excluded from Time Machine backups.


The main audience for tmi are developers, but anyone is welcome to use it. The utility operates in a similiar fashion to a global ~/.gitignore file.

Installation

Download and install using go get:

go get -u github.com/romantomjak/tmi

Usage

Create ~/.tmignore file with one pattern per line:

cat << EOF > ~/.tmignore
# vcs
~/Projects/**/.git

# package managers
~/Projects/**/node_modules/
~/.virtualenvs
~/.cargo
~/.gem
~/.npm
EOF

📚 Patterns can be specified as either full paths to files and folders or by using wildcard characters that will be expanded following the unix pathname expansion specification.

Matched items can be manually excluded from Time Machine backups by running:

tmi scan

Alternatively, you can install an agent that will refresh the exclusion list every 30 minutes:

tmi agent install

Contributing

You can contribute in many ways and not just by changing the code! If you have any ideas, just open an issue and tell me what you think.

Contributing code-wise - please discuss larger changes via an issue before submitting a pull request. Otherwise, fork the repository and submit a pull request!

License

GNU General Public License 3.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL