Skip to content

Instantly share code, notes, and snippets.

@webuti
Created July 29, 2021 09:20
Show Gist options
  • Save webuti/38a5795771248b7b76a31bc526ec8a62 to your computer and use it in GitHub Desktop.
Save webuti/38a5795771248b7b76a31bc526ec8a62 to your computer and use it in GitHub Desktop.
cat config.json|jq -r '.[][].url' | while IFS=$'\t' read -r url; do echo "$url" > "$url".md done
cat config.json|jq -r ".[][4].childs[].url"| while IFS=$'\t' read -r url; do echo "$url" > "$url".md done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment