aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-26 20:55:55 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-26 20:55:55 +1200
commita9784dda9f9707342bed9fed1c07ed2336c73e0e (patch)
tree5ab4205a96569c1a39cab7ea3dba019fcee3806e /man
parentRemove ad() (diff)
downloaddotfiles-a9784dda9f9707342bed9fed1c07ed2336c73e0e.tar.gz
dotfiles-a9784dda9f9707342bed9fed1c07ed2336c73e0e.zip
Make a caveat of swr(1df) clearer
Diffstat (limited to 'man')
-rw-r--r--man/man1/swr.1df5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/man1/swr.1df b/man/man1/swr.1df
index 8792b0ed..4c40a6f0 100644
--- a/man/man1/swr.1df
+++ b/man/man1/swr.1df
@@ -1,7 +1,7 @@
.TH SWR 1df "January 2017" "Manual page for swr"
.SH NAME
.B swr
-\- run a command including remote file arguments for scp(1) retrieval
+\- run a command including remote file arguments for scp(1) reading
.SH SYNOPSIS
.B swr
cat remote:.ssh/authorized_keys
@@ -18,6 +18,9 @@ circumstances.
This even works for the first argument (i.e. the command), provided that it
will run on the local system once copied in.
.SH CAVEATS
+You can't write to remote files with it. The arguments only work as input
+streams, so e.g. "cp .vimrc remote:.vimrc" won't do what you expect.
+.P
This only works for simple commands; you can't put shell syntax into any of the
arguments.
.P