To print local files just give the name, for arXiv files link to the pdf
Example:
$ ./printfile foo.pdf http://arxiv.org/pdf/XXXX.XXXX.vX.pdf bar.pdf
In order not to have to enter a password every time do as follows,
First generate an ssh key if you don't already have one:
$ ssh-keygen
Then copy the key to the server:
$ ssh ssh-copy-id $(head -n 1 ./printer)
Bam, the server will no longer ask you for the password for ssh.
- Stop hardcoding the server and login
- Check multiple files work
- Make only one ssh connection per session
- Have the script read and summarise the paper in an understandable manner
- At least print single things