diff options
author | Colin Watson <cjwatson@debian.org> | 2013-09-14 15:43:03 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2013-09-14 15:43:03 +0100 |
commit | 8faf8c84430cf3c19705b1d9f8889d256e7fd1fd (patch) | |
tree | e6cb74192adb00fda5e4d1457547851d7e0d86af /sftp.1 | |
parent | 328b60656f29db6306994d7498dede386ec2d1c3 (diff) | |
parent | c41345ad7ee5a22689e2c009595e85fa27b4b39a (diff) |
merge 6.3p1
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.91 2011/09/05 05:56:13 djm Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.92 2013/07/25 00:56:51 djm Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -22,7 +22,7 @@ | |||
22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | .\" | 24 | .\" |
25 | .Dd $Mdocdate: September 5 2011 $ | 25 | .Dd $Mdocdate: July 25 2013 $ |
26 | .Dt SFTP 1 | 26 | .Dt SFTP 1 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -129,7 +129,7 @@ may be used to indicate standard input. | |||
129 | .Nm | 129 | .Nm |
130 | will abort if any of the following | 130 | will abort if any of the following |
131 | commands fail: | 131 | commands fail: |
132 | .Ic get , put , rename , ln , | 132 | .Ic get , put , reget , rename , ln , |
133 | .Ic rm , mkdir , chdir , ls , | 133 | .Ic rm , mkdir , chdir , ls , |
134 | .Ic lchdir , chmod , chown , | 134 | .Ic lchdir , chmod , chown , |
135 | .Ic chgrp , lpwd , df , symlink , | 135 | .Ic chgrp , lpwd , df , symlink , |
@@ -343,7 +343,7 @@ extension. | |||
343 | Quit | 343 | Quit |
344 | .Nm sftp . | 344 | .Nm sftp . |
345 | .It Xo Ic get | 345 | .It Xo Ic get |
346 | .Op Fl Ppr | 346 | .Op Fl aPpr |
347 | .Ar remote-path | 347 | .Ar remote-path |
348 | .Op Ar local-path | 348 | .Op Ar local-path |
349 | .Xc | 349 | .Xc |
@@ -363,6 +363,14 @@ is specified, then | |||
363 | .Ar local-path | 363 | .Ar local-path |
364 | must specify a directory. | 364 | must specify a directory. |
365 | .Pp | 365 | .Pp |
366 | If the | ||
367 | .Fl a | ||
368 | flag is specified, then attempt to resume partial transfers of existing files. | ||
369 | Note that resumption assumes that any partial copy of the local file matches | ||
370 | the remote copy. | ||
371 | If the remote file differs from the partial local copy then the resultant file | ||
372 | is likely to be corrupt. | ||
373 | .Pp | ||
366 | If either the | 374 | If either the |
367 | .Fl P | 375 | .Fl P |
368 | or | 376 | or |
@@ -503,6 +511,18 @@ Display remote working directory. | |||
503 | .It Ic quit | 511 | .It Ic quit |
504 | Quit | 512 | Quit |
505 | .Nm sftp . | 513 | .Nm sftp . |
514 | .It Xo Ic reget | ||
515 | .Op Fl Ppr | ||
516 | .Ar remote-path | ||
517 | .Op Ar local-path | ||
518 | .Xc | ||
519 | Resume download of | ||
520 | .Ar remote-path . | ||
521 | Equivalent to | ||
522 | .Ic get | ||
523 | with the | ||
524 | .Fl a | ||
525 | flag set. | ||
506 | .It Ic rename Ar oldpath Ar newpath | 526 | .It Ic rename Ar oldpath Ar newpath |
507 | Rename remote file from | 527 | Rename remote file from |
508 | .Ar oldpath | 528 | .Ar oldpath |