4

Is it possible to launch Chrome with specific profile from Spotlight on macOS Big Sur?

I found answers (old) that this is possible with a command.

Julen
  • 141

1 Answers1

1

You could set that up with a simple bash script using the command you linked to and setting up a soft link.

Replace "PROFILE_NAME" with whatever you want.

  1. Create script: sudo nano ~/PROFILE_NAME

  2. Fill it with this text

    #!/bin/bash
    open -a "Google Chrome" --args --profile-directory=PROFILE_NAME
    
  3. Make executable: chmod +x ~/PROFILE_NAME

  4. Create link: ln -s ~/PROFILE_NAME /usr/local/bin/PROFILE_NAME

  5. Type PROFILE_NAME into spotlight.

a e
  • 435