wallabag_scripts/bookmarksJsonParse

3 lines
172 B
Plaintext
Raw Normal View History

2015-01-12 22:20:48 -05:00
#!/bin/sh
# this spits out URLs from a firefox bookmark json export, rather ugly...
python -m json.tool < "$1" | grep '^ *"uri": *"' | sed -e 's/^ *"uri": *"//' -e 's/"$//'