~cjwatson/ubuntu/precise/openssh/precise-proposed

« back to all changes in this revision

Viewing changes to sftp.1

   - djm@cvs.openbsd.org 2010/12/04 00:18:01
     [sftp-server.c sftp.1 sftp-client.h sftp.c PROTOCOL sftp-client.c]
     add a protocol extension to support a hard link operation. It is
     available through the "ln" command in the client. The old "ln"
     behaviour of creating a symlink is available using its "-s" option
     or through the preexisting "symlink" command; based on a patch from
     miklos AT szeredi.hu in bz#1555; ok markus@

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" $OpenBSD: sftp.1,v 1.87 2010/11/18 15:01:00 jmc Exp $
 
1
.\" $OpenBSD: sftp.1,v 1.88 2010/12/04 00:18:01 djm Exp $
2
2
.\"
3
3
.\" Copyright (c) 2001 Damien Miller.  All rights reserved.
4
4
.\"
22
22
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23
23
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
24
.\"
25
 
.Dd $Mdocdate: November 20 2010 $
 
25
.Dd $Mdocdate: December 4 2010 $
26
26
.Dt SFTP 1
27
27
.Os
28
28
.Sh NAME
128
128
.Ic get , put , rename , ln ,
129
129
.Ic rm , mkdir , chdir , ls ,
130
130
.Ic lchdir , chmod , chown ,
131
 
.Ic chgrp , lpwd , df ,
 
131
.Ic chgrp , lpwd , df , symlink ,
132
132
and
133
133
.Ic lmkdir .
134
134
Termination on error can be suppressed on a command by command basis by
392
392
.It Ic lmkdir Ar path
393
393
Create local directory specified by
394
394
.Ar path .
395
 
.It Ic ln Ar oldpath Ar newpath
396
 
Create a symbolic link from
 
395
.It Xo Ic ln
 
396
.Op Fl s
 
397
.Ar oldpath
 
398
.Ar newpath
 
399
.Xc
 
400
Create a link from
397
401
.Ar oldpath
398
402
to
399
403
.Ar newpath .
 
404
If the
 
405
.Fl s
 
406
flag is specified the created link is a symbolic link, otherwise it is
 
407
a hard link.
400
408
.It Ic lpwd
401
409
Print local working directory.
402
410
.It Xo Ic ls