Skip to content

Instantly share code, notes, and snippets.

@spyesx
Created October 31, 2022 08:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spyesx/3b38a47014732c8d4169c290a9490251 to your computer and use it in GitHub Desktop.
Save spyesx/3b38a47014732c8d4169c290a9490251 to your computer and use it in GitHub Desktop.
Download all images listed in list.txt then make it a PDF
#!/usr/bin/env bash
# Download all images listed in list.txt then make it a PDF
wget --input list.txt -O $1.jpg
convert *.jpg output.pdf
http://domain.tld/path/to/image/filename-a.ext
http://domain.tld/path/to/image/filename-b.ext
http://domain.tld/path/to/image/filename-c.ext
http://domain.tld/path/to/image/filename-d.ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment