Created
December 16, 2013 18:47
-
-
Save tr37ion/7992162 to your computer and use it in GitHub Desktop.
Extract and reorganize (sort) Thunderbird identities (alpha version)
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
!#/bin/bash | |
# Extract and reorganize (sort) Thunderbird identities (alpha version) | |
# | |
# --> Be careful! | |
# If you have more than one account, you have to delete those IDs which are linked to other accounts. | |
grep 'useremail' prefs.js | sort -t"," -k2 |egrep -o 'id[0-9]{1,}' | tr '\n' ', ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment