LoginSignup
0
0
100万人に伝えたい!失敗を乗り超えた話を共有しよう

Shell で、Chrome のアカウントを指定してURLを開く方法。デフォルト以外のブラウザで開く。

Posted at

Mac のShellコマンドにて、Safari をデフォルトにしていようがお構いなく、

Chrome のアカウントを指定してURLを開く方法を共有します。

以下参照

open -n -a "Google Chrome.app" --args YOUR_URL  --profile-directory="Profile 1"

YOUR_URL に https://~ リンクを、

Profile 1 部分には、 Profile 2, Profile 3 などを指定する。

(確かFinder で見つけられたはず、 Library > Application なんとか > Google > Chrome とかだったかな。うろ覚え)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0