wallabag_scripts/bookmarksJsonParse

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