diff options
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 31 |
1 files changed, 26 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.122 2018/11/16 02:30:20 djm Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.123 2019/01/16 23:23:45 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: November 16 2018 $ | 25 | .Dd $Mdocdate: January 16 2019 $ |
26 | .Dt SFTP 1 | 26 | .Dt SFTP 1 |
27 | .Os | 27 | .Os |
28 | .Sh NAME | 28 | .Sh NAME |
@@ -316,31 +316,52 @@ Change remote directory to | |||
316 | If | 316 | If |
317 | .Ar path | 317 | .Ar path |
318 | is not specified, then change directory to the one the session started in. | 318 | is not specified, then change directory to the one the session started in. |
319 | .It Ic chgrp Ar grp Ar path | 319 | .It Xo Ic chgrp |
320 | .Op Fl h | ||
321 | .Ar grp | ||
322 | .Ar path | ||
323 | .Xc | ||
320 | Change group of file | 324 | Change group of file |
321 | .Ar path | 325 | .Ar path |
322 | to | 326 | to |
323 | .Ar grp . | 327 | .Ar grp . |
328 | If the | ||
329 | .Fl h | ||
330 | flag is specified, then symlinks will not be followed. | ||
324 | .Ar path | 331 | .Ar path |
325 | may contain | 332 | may contain |
326 | .Xr glob 7 | 333 | .Xr glob 7 |
327 | characters and may match multiple files. | 334 | characters and may match multiple files. |
328 | .Ar grp | 335 | .Ar grp |
329 | must be a numeric GID. | 336 | must be a numeric GID. |
330 | .It Ic chmod Ar mode Ar path | 337 | .It Xo Ic chmod |
338 | .Op Fl h | ||
339 | .Ar mode | ||
340 | .Ar path | ||
341 | .Xc | ||
331 | Change permissions of file | 342 | Change permissions of file |
332 | .Ar path | 343 | .Ar path |
333 | to | 344 | to |
334 | .Ar mode . | 345 | .Ar mode . |
346 | If the | ||
347 | .Fl h | ||
348 | flag is specified, then symlinks will not be followed. | ||
335 | .Ar path | 349 | .Ar path |
336 | may contain | 350 | may contain |
337 | .Xr glob 7 | 351 | .Xr glob 7 |
338 | characters and may match multiple files. | 352 | characters and may match multiple files. |
339 | .It Ic chown Ar own Ar path | 353 | .It Xo Ic chown |
354 | .Op Fl h | ||
355 | .Ar own | ||
356 | .Ar path | ||
357 | .Xc | ||
340 | Change owner of file | 358 | Change owner of file |
341 | .Ar path | 359 | .Ar path |
342 | to | 360 | to |
343 | .Ar own . | 361 | .Ar own . |
362 | If the | ||
363 | .Fl h | ||
364 | flag is specified, then symlinks will not be followed. | ||
344 | .Ar path | 365 | .Ar path |
345 | may contain | 366 | may contain |
346 | .Xr glob 7 | 367 | .Xr glob 7 |