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?
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
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.