Created
December 4, 2020 04:59
-
-
Save casconed/fceb4e0d1d645e009d263a074862573e to your computer and use it in GitHub Desktop.
JQ parse Firebase Auth export to CSV
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
jq -r '.[][] | .createdAt |= ( . | tonumber / 1000 | strftime("%h %d, %Y")) | .auth= .phoneNumber + .email| [.auth, null, .createdAt, .createdAt, .localId]|@csv' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment