Created
October 26, 2019 04:08
-
-
Save scottleedavis/49c0e4afb709fecdcef84e6873b355d6 to your computer and use it in GitHub Desktop.
runs an openfaas function imagecrawler and feeds the results to the function exif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo https://lotussoulstudios.com | faas-cli invoke openfaas-imagecrawler | jq .. > urls.txt | |
input="./urls.txt" | |
while IFS= read -r line | |
do | |
line="${line%\"}" | |
line="${line#\"}" | |
echo $line | faas-cli invoke openfaas-exif | jq | |
done < $input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment