This question helped me with how to export a profile configuration file, but how do I import that file into iterm2 on my new machine?
(the file I exported was called com.googlecode.iterm2.plist
, for what it's worth)
iTerm stores profiles in `~/Library/Saved Application State` which is not backed up by time machine. Today I had to recover my main disk form time mashine. For some reason, iTerm2 lost all my profiles. Some research revealed that profiles are stored in ~/Library/Saved Application State .
Go to iTerm2 -> Preferences -> General . Under the Preferences tab , Tick Load Preferences from a custom folder or a URL: and choose a folder and click on Save Now .
just upload your *.plist
to ~/Library/Preferences
.
Notice, that checkbox:
Load preferences from a custom folder or URL
in Preferences - General
(at the bottom) must be disabled.
First export all the profiles from iTerm2 as below:
How to import from above JSON file format which is actually a plist format:
Restart iTerm2 now in profiles it should show all your old profiles
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With