10000 GitHub - Coder-256/tmexclude: Exclude files from Time Machine backups
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Exclude files from Time Machine backups

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Coder-256/tmexclude

Repository files navigation

tmexclude

A small macOS command-line tool to flag a file/folder to be excluded from Time Machine backups by setting the com.apple.metadata:com_apple_backup_excludeItem extended attribute.

USAGE: tmexclude --included --excluded [<path> ...]

ARGUMENTS:
  <path>                  Path to a file/folder.

OPTIONS:
  -i, --included/-e, --excluded
                          Flag the item to be included or excluded in backups.
  --version               Show the version.
  -h, --help              Show help information.

Example

$ touch foo.txt
$ tmexclude -e foo.txt
$ xattr foo.txt
com.apple.metadata:com_apple_backup_excludeItem
$ tmexclude -i foo.txt
$ xattr foo.txt
<no output>

About

Exclude files from Time Machine backups

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

0