pigeons on wooden railing on sea shore

Open a specific Google Chrome Profile from the Mac OSX Terminal

I’ve been looking for this a few times and the best answer for Mac needs scrolling hidden in this tread – https://superuser.com/questions/377186/how-do-i-start-chrome-using-a-specified-user-profile#answer-1677353

So to open it in OSX, you open it using the full path, and provide the profile directory.

Since there is no obvious way to say which profile is located in which directory (apart from remembering which one was created first), I brute-forced it by increasing the Profile number until finding the correct profile I wanted to open.

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --profile-directory="Default"
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --profile-directory="Profile 1"

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --profile-directory="Profile 2"

And I needed just two tries 🙂 (and I have 14 Google Chrome profiles)


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.