Skip to content

Instantly share code, notes, and snippets.

@dacapo1142
dacapo1142 / convert.sh
Created June 29, 2024 14:41
Convert stupid facebook message json into normal json line format
jq -c '.messages[0:-1].[]' $1 | python3 -c 'import sys; print(sys.stdin.read().encode("latin1").decode("utf8"))'