Skip to content

Instantly share code, notes, and snippets.

@digimix
Last active August 9, 2019 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digimix/408e6c3711cbbf0498227af69c8410d7 to your computer and use it in GitHub Desktop.
Save digimix/408e6c3711cbbf0498227af69c8410d7 to your computer and use it in GitHub Desktop.
Using Pageres CLI for a list or URLs

Using Pageres CLI to take screen shots of a list or urls

Preface: To make things easy, create a new clean directory, cd into it. mkdir screenshots && cd screenshots

  1. Save all of your URLs to a .txt file separating each by a space or line break. nano urls.txt CMD + V // to paste the URLs from your clipboard CTRL + X Y Enter // save and quit from nano editor
  2. Run this shell script from the directory for URL incat urls.txt; do echo $URL; pageres "$URL" 400x681; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment