Skip to content

Instantly share code, notes, and snippets.

View pcdoyle's full-sized avatar

Patrick Doyle pcdoyle

View GitHub Profile
@pcdoyle
pcdoyle / openmsedgeprofilemacos.sh
Created November 1, 2022 19:37 — forked from ciphertxt/openmsedgeprofilemacos.sh
Opens a specific Microsoft Edge profile by name on macOS
# Navigate to the profiles directory
cd ~/Library/Application\ Support/Microsoft\ Edge
# List out the profile directories. Note that the directory name is what is used in the launch command, *not* necessarily the friendly name of the profile you see in Microsoft Edge.app
find ./ -type f -name Preferences
# Let's say "Profile 1" is one of our directories
"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" --profile-directory="Profile 1"