Created
August 14, 2024 17:13
-
-
Save ph20/9c9c1de8ddbc2e3b0665356abfe9bf26 to your computer and use it in GitHub Desktop.
scan and show profile name directory name for google chrome profiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/.config/google-chrome/ -name "Preferences" -exec sh -c ' | |
for file; do | |
dir=$(dirname "$file") | |
profile_name=$(jq -r .profile.name "$file") | |
echo "$dir: $profile_name" | |
done | |
' sh {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment