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.
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.
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.
Create script: sudo nano ~/PROFILE_NAME
Fill it with this text
#!/bin/bash
open -a "Google Chrome" --args --profile-directory=PROFILE_NAME
Make executable: chmod +x ~/PROFILE_NAME
Create link: ln -s ~/PROFILE_NAME /usr/local/bin/PROFILE_NAME
Type PROFILE_NAME into spotlight.