- deraadt@cvs.openbsd.org 2001/03/06 06:11:44
[sftp-int.c sftp.1 sftp.c]
sftp -b batchfile; mouring@etoh.eviladmin.org
+ - deraadt@cvs.openbsd.org 2001/03/06 15:10:42
+ [sftp.1]
+ order things
20010306
- (bal) OpenBSD CVS Sync
-.\" $OpenBSD: sftp.1,v 1.10 2001/03/06 06:11:44 deraadt Exp $
+.\" $OpenBSD: sftp.1,v 1.11 2001/03/06 15:10:42 deraadt Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
.Pp
The options are as follows:
.Bl -tag -width Ds
-.It Fl v
-Raise logging level. This option is also passed to ssh.
-.It Fl C
-Enables compression (via ssh's
-.Fl C
-flag)
.It Fl b Ar batchfile
Batch mode reads a series of commands from an input
.Fn batchfile
.Pa get, put, rename, rm, mkdir, chdir, lchdir
and
.Pa lmkdir.
+.It Fl C
+Enables compression (via ssh's
+.Fl C
+flag)
.It Fl o Ar ssh_option
Specify an option to be directly passed to
.Xr ssh 1 .
+.It Fl v
+Raise logging level. This option is also passed to ssh.
.El
.Sh INTERACTIVE COMMANDS
Once in interactive mode,
.Ar own .
.Ar own
must be a numeric UID.
-.It Ic help
-Display help text.
+.It Ic exit
+Quit sftp.
.It Xo Ic get
.Op Ar flags
.Ar remote-path
.Fl P
flag is specified, then the file's full permission and access time are
copied too.
+.It Ic help
+Display help text.
.It Ic lls Op Ar ls-options Op Ar path
Display local directory listing of either
.Ar path
copied too.
.It Ic pwd
Display remote working directory.
-.It Ic exit
-Quit sftp.
.It Ic quit
Quit sftp.
.It Ic rename Ar oldpath Ar newpath