summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-11-16 02:30:20 +0000
committerDamien Miller <djm@mindrot.org>2018-11-16 13:51:58 +1100
commit5c1a63562cac0574c226224075b0829a50b48c9d (patch)
treeb6b6ad2964a1fd120f6ed06a5be2d8e3ff7df808 /sftp.1
parent90ef45f7aac33eaf55ec344e101548a01e570f29 (diff)
upstream: support a prefix of '@' to suppress echo of sftp batch
commands; bz#2926; ok dtucker@ OpenBSD-Commit-ID: 9d635636bc84aeae796467e059f7634de990a79d
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.111
1 files changed, 9 insertions, 2 deletions
diff --git a/sftp.1 b/sftp.1
index 50e2fef0..7140bc19 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.121 2018/11/13 07:22:45 schwarze Exp $
+.\" $OpenBSD: sftp.1,v 1.122 2018/11/16 02:30:20 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -22,7 +22,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 13 2018 $
+.Dd $Mdocdate: November 16 2018 $
.Dt SFTP 1
.Os
.Sh NAME
@@ -127,6 +127,7 @@ at connection time (see
and
.Xr ssh-keygen 1
for details).
+.Pp
A
.Ar batchfile
of
@@ -141,11 +142,17 @@ commands fail:
.Ic chgrp , lpwd , df , symlink ,
and
.Ic lmkdir .
+.Pp
Termination on error can be suppressed on a command by command basis by
prefixing the command with a
.Sq \-
character (for example,
.Ic -rm /tmp/blah* ) .
+Echo of the command may be suppressed by prefixing the command with a
+.Sq @
+character.
+These two prefixes may be combined in any order, for example
+.Ic -@ls /bsd .
.It Fl C
Enables compression (via ssh's
.Fl C