Skip to content

Instantly share code, notes, and snippets.

@betillogalvan
Created October 23, 2018 23:52
Show Gist options
  • Save betillogalvan/c246d7b574b5bedbd505eae054273b58 to your computer and use it in GitHub Desktop.
Save betillogalvan/c246d7b574b5bedbd505eae054273b58 to your computer and use it in GitHub Desktop.
SimpleBashScriptToTakeScreenshots
#Simple bash script to take screenshots
#!/bin/bash
file="/path/urls.txt"
while IFS= read line
do
echo "$line"
firefox -screenshot "$line".png "$line" &>/dev/null
done < "$file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment