Just a simple way to backup a list of apps, fonts and packages you have installed on your Mac -> Dropbox. Run manually or schedule. Simple and for everyone.
- Mac Apps (A list of the installed apps)
- Homebrew (A list of the installed packages)
- NPM (A list of the globally installed packages)
- Fonts (A list of the installed fonts)
- Bash profile (The current bash profile)
- Aliases
- SSH config
- Hosts (The hosts file)
- Apache (macOS built in)
- Gitconfig
- VSCode (Lists of the current Settings, Keybindings and Extensions)
- Crontab (A list of the crontab)
- Sequel Pro (A lit of the Favorites)
Note:
- Quit Sequel Pro if it’s running.
- Replace ~/Library/Application Support/Sequel Pro/Data/+ Favourites.plist with your backed up copy.
- Replace ~/Library/Preferences/com.sequelpro.SequelPro.plist with + your backed up copy.
- Fire up Sequel Pro and you should be back in business.
Of course, change all this to your taste/needs.
I'm using the full paths to some of the binaries here. You can also just use brew
or npm
, but that might not work correctly when you use it in Automator or with Alfred.
- Open up crontab
env EDITOR=nano crontab -e
- Schedule the bash script. Ex. Run 09.00 am monday-friday
0 09 * * 1-5 /mypath/system-list-backup.sh
- Start Automator.app
- Select "Application"
- Click "Show library"
- Add "Run Shell script"
- Copy & paste the scripts above
- Test it
- Save it somewhere, ex to your
Applications
folder - Add this app to System Preferences -> Account -> Login items
- Done!
Use the system-list-backup.alfredworkflow
file in this repo.
Start typing the keyword "backup" + enter