https://github.com/norm/osx_settings
Backup/restore OS X application settings
https://github.com/norm/osx_settings
Last synced: 8 months ago
JSON representation
Backup/restore OS X application settings
- Host: GitHub
- URL: https://github.com/norm/osx_settings
- Owner: norm
- Created: 2014-06-28T15:21:00.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-29T08:40:07.000Z (about 12 years ago)
- Last Synced: 2025-01-19T10:32:39.932Z (over 1 year ago)
- Language: Shell
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
osx_settings
============
Script to backup/restore OS X app settings. Handy for moving to a new
computer, repeatedly switching computers or, you know, just for the joy of
having backups.
Basic usage
-----------
Usage:
settings [args] backup [app ...]
settings [args] restore [app ...]
Args:
-b dir set backup dir, default ~/Dropbox/Settings
-c dir set config dir, default ~/etc/osx_settings
-h show help
-l dir set library dir, default ~/Library
-q quiet, no output
-v verbose, output all files copied
Clone this repository and copy the `settings` script into your `$PATH`
somewhere (or run `make install` to put it and the example config files
in the default locations under `~`).
Create an new `.conf` file in `~/etc/osx_settings` which lists the files
under `~/Library` that need to be backed up. Run `settings backup` and those
files will be copied to the backup directory.
### Directories
* `backup_directory` -- where the backups are stored. Defaults to
`~/Dropbox/Settings`. Override by setting `OSX_SETTINGS_BACKUP` or passing
the `-b ` argument.
* `config_directory` -- where the config files are stored. Defaults to
`~/etc/osx_settings`. Override by setting `OSX_SETTINGS_CONFIG` or passing
the `-c ` argument.
* `library_directory` -- where the backups are taken from/restored to.
Defaults to `~/Library`. Override by setting `OSX_SETTINGS_LIBRARY` or
passing the `-l ` argument.