Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lutetiumfulva

macrumors newbie
Original poster
Nov 11, 2022
6
0
I want open in terminal chrome beta with default profile.

When I run:
```
/Applications/Google\ Chrome\ Beta.app /Contents/MacOS/Google\ Chrome --args --profile-directory="Default"
```

I got message:
```
Unknown command. '/Applications/Google Chrome Beta.app' exists but is not an executable file
```

I have similar code, for Chrome Stable version and it is on working:
```
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --profile-directory="Default"
```

What is wrong with code with Google Chrome Beta?
 
Last edited:
Both are wrong.
For Chrome:
Code:
open -a "Google Chrome.app" --args --profile-directory="Default"
or
Code:
open -a /Applications/Google\ Chrome.app --args --profile-directory="Default"
for Chrome Beta
Code:
open -a "Google Chrome Beta.app" --args --profile-directory="Default"
or
Code:
open -a /Applications/Google\ Chrome\ Beta.app --args --profile-directory="Default"
 
Both are wrong.
For Chrome:
Code:
open -a "Google Chrome.app" --args --profile-directory="Default"
or
Code:
open -a /Applications/Google\ Chrome.app --args --profile-directory="Default"
for Chrome Beta
Code:
open -a "Google Chrome Beta.app" --args --profile-directory="Default"
or
Code:
open -a /Applications/Google\ Chrome\ Beta.app --args --profile-directory="Default"

Thank you!
 
@bogdanw

Sorry, not working, I can't open Profile 2 etc.
When I type --args --profile-directory="Profile 2" always open Default Profile.
 
@lutetiumfulva Does it work as you want it?
Instead on Chrome Beta, I use Chrome Canary, because it has a different folder for saving settings and it doesn’t interfere with Chrome (stable).
Chrome settings are in ~/Library/Application Support/Google/Chrome, while Chrome Canary settings are stored in ~/Library/Application Support/Google/Chrome Canary
https://www.google.com/chrome/canary/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.