Open Google Chrome Specific Profile From Command Line Mac

Posted by gradedcatfood on Super User See other posts from Super User or by gradedcatfood
Published on 2014-05-28T01:39:48Z Indexed on 2014/06/04 3:28 UTC
Read the original article Hit count: 500

Filed under:
|
|
|

I have been trying to open Google Chrome from command line but with no luck! I have tried How do I start Chrome using a specified "user profile"?

My goal is to open Google Chrome with a specific profile such as "profile 1", "profile 2", or "Default" from the command line, using bash to be specific, on my Mac.

UPDATE: 6/3/14 Got this to work BUT only works when opening chrome for the first time

open -a Google\ Chrome --args --"profile-directory"="Profile 1"

So How do you get --args to be accepted AFTER google chrome as already been launched??

© Super User or respective owner

Related posts about osx

Related posts about command-line