Skip to content

Instantly share code, notes, and snippets.

@awoods
Created October 26, 2022 17:47
Show Gist options
  • Save awoods/e1cf65b38fbfc95842fa71beee0bfefa to your computer and use it in GitHub Desktop.
Save awoods/e1cf65b38fbfc95842fa71beee0bfefa to your computer and use it in GitHub Desktop.
Sanity testing remediated JP2 images
for x in `cat JP2_loris_proxy_urls.txt`; do y=`echo -n $x | sed 's/full.*/info.json/' | sed 's/"//'` ; curl -s -I -o /dev/null -w "%{http_code}" ${y} ; echo " : '${y}'" ; done | tee results.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment