macOS Backup & Setup
Main Feature
- Backup your Mac's App List (Mac App Store & Brew & Brew Cask) to iCloud
- Set up a new Mac automatically from an old one.
Requirement
For Backup
- No particular requirement.
For Setup
- Internet connection
- Another Mac which is already configured and connected to the same LAN as your new Mac does.
Usage
For Backup
-
Tutorial:
- Just run the Script, and it will back up App list automatically.
-
Reference:
-
Backup Dir:
/User/[Username]/Library/Mobile\ Documents/com~apple~CloudDocs/AppList/All_AppList/
-
Backup Reference:
All_AppList
: All the Apps in/Applications
MAS_AppList
: Installed by Mac App StoreBrew_AppList
: Installed by Homebrew (bybrew install
)BrewCask_AppList
: Installed by Homebrew Cask (bybrew cask install
)MAS_AppList_Brief
:MAS_AppList
's Name-Only list versionnonMAS_AppList
:All_AppList
subtractMAS_AppList
-
For Setup
About The Item with * indicates: It's not certainly usable.
About Mac App Store App Installation: If you once use multiple Apple ID accounts in Mac App Store, it will only back up one particular account's downloads.
-
Tutorial:
Enter the Source Username:
Displayed: Input the[source_username]
of the old Mac.Enter the Source source_IP_address:
Displayed: Input the[source_IP_address]
of the old Mac which should have connected to the same LAN as your new Mac does.Confirmed
Displayed: The script will finish the rest tasks automatically.
-
Reference:
- App Install: Mac App Store, Homebrew, Homebrew Cask
Bash
:~/.bash_profile
Zsh
:~/.zshrc
Vim
:~/.vimrc
Tumx
*:~/tmux.conf
, Plug-Ins (Need additional manual OPs:Prefix + I
)Pyenv
*: Pyenv Applist InstallSSH
:~/.ssh/
- Touch ID * :
/etc/pam.d/sudo
modification (Only suitable for Macs with Touch ID) - System Preference:
sudo spctl --master-disable
to Allow Apps Downloaded from Anywhere - Preview Plug-In:
- qlcolorcode
- qlstephen
- qlmarkdown
- quicklook-json
- qlimagesize
- webpquicklook
- suspicious-package
- quicklookase
- qlvideo
- Aria2:
~/.aria2/aria2.conf
- Shadowsocks Usage in Command Line*
Attention
- The script is mainly for personal usage, and some usage may be not completely usable.