I just recently reinstalled OS X and forgot to back up all my sweet 'profiles' aka colour schemes. It would be very helpful if I could find the location of these so I can recover them from backup.
MacOS – Terminal.app profiles files located
colormacossettingsterminal
Related Question
- MacOS – simple way to have separate dock icons for different Chrome Profiles
- MacOS – Cannot restore located file from TimeMachine
- MacOS – Coloured files and folders – Mavericks and Yosemite
- IPhone – iTunes music files located, if they are not in Music/iTunes/iTunes Media
- Set a Display colour profile via Terminal or AppleScript? (Macbook)
- MacOS – How to recover files “emptied” from trash
- Weird LSCOLORS after copying files
Best Answer
The original answer is spot on; here's more detail on how to restore everything.
Unless you've exported them from the Profiles window - you'd end up with things called "sweetprofile.terminal" - it's a little complicated.
Make sure the Terminal app is closed. Go to your Library folder, and find the .plist file and .savedState directory:
Rename com.apple.Terminal.plist to com.apple.Terminal.plist.bak, and do the same with the savedState directory. Makes it easy to get stuff working again when something goes wrong, and anyone looking at it knows it's a backup file.
Copy the file and folder from the backup to the same places on your system drive:
Open the Terminal up and it should all be restored.
If you've done a migration or a clean install, your preferences might be messed up. Take a look at the permissions of items in ~/Library/Preferences, and take a look at your backup; same with the Saved Application States. If they aren't correct, Terminal is likely to just overwrite whatever you're trying to restore. So in this case: