Skip to content

Instantly share code, notes, and snippets.

@beholderrk
Created April 11, 2014 16:11
Show Gist options
  • Save beholderrk/10480978 to your computer and use it in GitHub Desktop.
Save beholderrk/10480978 to your computer and use it in GitHub Desktop.
скрипт для поиска по json файлам
#!/bin/bash
for path in `find $1 -type f | grep .json`
do
echo ${path}
cat ${path} | python -m json.tool | grep $2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment