From 1117b973fe14b018376359176a27a906e76c6391 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 20 Mar 2020 20:09:34 +0000 Subject: add instructions for local file with docker --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 3d59768..2bc4e35 100644 --- a/README.md +++ b/README.md @@ -198,6 +198,9 @@ docker run --rm -v "${HOME}/.rmapi:/home/user/.rmapi:rw" p2r --help # equivalent to above usage docker run --rm -v "${HOME}/.rmapi:/home/user/.rmapi:rw" p2r -v https://arxiv.org/abs/1811.11242 + +# to transfer a local file in the current directory +docker run --rm -v "${HOME}/.rmapi:/home/user/.rmapi:rw" -v "$(pwd):/home/user:r" p2r -v localfile.pdf ``` You can also create an [alias](http://tldp.org/LDP/abs/html/aliases.html) in -- cgit v1.2.3