Skip to content

Instantly share code, notes, and snippets.

@rileyjshaw
Created January 3, 2022 05:17
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 rileyjshaw/c4a298d63e3aa57ce0602112abbf6a55 to your computer and use it in GitHub Desktop.
Save rileyjshaw/c4a298d63e3aa57ce0602112abbf6a55 to your computer and use it in GitHub Desktop.
Download a collection of PDFs from the Internet Archive
#!/bin/bash
# Dependency: https://archive.org/services/docs/api/internetarchive/cli.html
# Usage example: ./download.sh byte-magazine
ia search "collection:$1" --itemlist | parallel 'ia download {} --glob="*.pdf"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment