wallabag_scripts/bookmarksJsonParse
2015-01-12 22:20:48 -05:00

3 lines
172 B
Bash
Executable File

#!/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/"$//'