Skip to content

Instantly share code, notes, and snippets.

@hcarvalhoalves
Last active April 24, 2020 15:13
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 hcarvalhoalves/5bfdf2b4356ffcc69367010174e9fac0 to your computer and use it in GitHub Desktop.
Save hcarvalhoalves/5bfdf2b4356ffcc69367010174e9fac0 to your computer and use it in GitHub Desktop.
Download Free Springer Books
# Download TSV from https://docs.google.com/spreadsheets/d/1HzdumNltTj2SHmCv3SRdoub8SvpIEn75fa4Q23x0keU/edit#gid=793911758
cat Free\ Springer\ Books\ -\ eBook\ list.tsv |
tail -n +1 |
cut -f 1,8 |
tr '\t' '\n' |
sed 's/^/"/;s/$/"/' |
xargs -n2 sh -c 'echo "url = \"https://link.springer.com/content/pdf/10.1007%2F$2.pdf\"\noutput = \"$1.pdf\""' sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment