Last active
March 28, 2020 16:31
-
-
Save ranieuwe/6bd4d3bcf52a49a55493362310b854da to your computer and use it in GitHub Desktop.
Grabs a PDF copy of all Azure docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for row in $(curl https://api.github.com/repositories/72685026/contents/articles | jq -c -r '.[] | select(.type | contains("dir")) | "\(.name)"'); do wget -O "${row}.pdf" "https://docs.microsoft.com/en-us/azure/opbuildpdf/${row}/toc.pdf?branch=live"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should normally go to the directory you are currently in, which by default is your homedir /mnt/c/Users/username or c:\Users\username when you are using WSL.