Skip to content

Instantly share code, notes, and snippets.

@jhjin
Last active February 7, 2018 19:02
Show Gist options
  • Save jhjin/15c0b7d64d018312698c to your computer and use it in GitHub Desktop.
Save jhjin/15c0b7d64d018312698c to your computer and use it in GitHub Desktop.
wget IEEE paper
# Download IEEE article via a server that has IEEE text access (Usage: $ ieee 5738219)
function ieee() {
local cmd="'wget \"http://ieeexplore.ieee.org/stampPDF/getPDF.jsp?tp=&isnumber=&arnumber=${@}\" -O paper.pdf'"
ssh elab5 eval ${cmd}
scp elab5:~/paper.pdf $@.pdf
ssh elab5 'rm -f paper.pdf'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment