Skip to content

Instantly share code, notes, and snippets.

View Stono's full-sized avatar
💭
coding!

Karl Stoney Stono

💭
coding!
View GitHub Profile
#!/bin/bash
set -e
# Set Chrome user data directory
CHROME_LOCATION="$HOME/Library/Application Support/Google/Chrome"
# Gather profiles into arrays
profile_dirs=()
profile_labels=()
for profile_dir in "$CHROME_LOCATION"/Default "$CHROME_LOCATION"/Profile* "$CHROME_LOCATION"/Guest*; do