Create a gist now

Instantly share code, notes, and snippets.

Grabs latest JSONs from RS GE database fed from a newline-delineated text file, one URL per line.
if [ -d "$JSONDIR" ]; then
rm ./jsons/*.json
elif [ ! -d "$JSONDIR" ]; then
mkdir "$JSONDIR"
wget -o "./wgetlog.txt" -i "./all_urls.txt" -P "$JSONDIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment