diff options
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.6 2001/02/10 00:45:52 djm Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.7 2001/02/14 09:46:03 djm Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -94,13 +94,20 @@ to | |||
94 | must be a numeric UID. | 94 | must be a numeric UID. |
95 | .It Ic help | 95 | .It Ic help |
96 | Display help text. | 96 | Display help text. |
97 | .It Ic get Ar remote-path Op Ar local-path | 97 | .It Xo Ic get |
98 | .Op Ar flags | ||
99 | .Ar remote-path | ||
100 | .Op Ar local-path | ||
101 | .Xc | ||
98 | Retrieve the | 102 | Retrieve the |
99 | .Ar remote-path | 103 | .Ar remote-path |
100 | and store it on the local machine. | 104 | and store it on the local machine. |
101 | If the local | 105 | If the local |
102 | path name is not specified, it is given the same name it has on the | 106 | path name is not specified, it is given the same name it has on the |
103 | remote machine. | 107 | remote machine. If the |
108 | .Fl P | ||
109 | flag is specified, then the file's full permission and access time are | ||
110 | copied too. | ||
104 | .It Ic lls Op Ar ls-options Op Ar path | 111 | .It Ic lls Op Ar ls-options Op Ar path |
105 | Display local directory listing of either | 112 | Display local directory listing of either |
106 | .Ar path | 113 | .Ar path |
@@ -124,11 +131,18 @@ Set local umask to | |||
124 | .It Ic mkdir Ar path | 131 | .It Ic mkdir Ar path |
125 | Create remote directory specified by | 132 | Create remote directory specified by |
126 | .Ar path . | 133 | .Ar path . |
127 | .It Ic put Ar local-path Op Ar remote-path | 134 | .It Xo Ic put |
135 | .Op Ar flags | ||
136 | .Ar local-path | ||
137 | .Op Ar local-path | ||
138 | .Xc | ||
128 | Upload | 139 | Upload |
129 | .Ar local-path | 140 | .Ar local-path |
130 | and store it on the remote machine. If the remote path name is not specified, | 141 | and store it on the remote machine. If the remote path name is not specified, |
131 | it is given the same name it has on the local machine. | 142 | it is given the same name it has on the local machine. If the |
143 | .Fl P | ||
144 | flag is specified, then the file's full permission and access time are | ||
145 | copied too. | ||
132 | .It Ic pwd | 146 | .It Ic pwd |
133 | Display remote working directory. | 147 | Display remote working directory. |
134 | .It Ic exit | 148 | .It Ic exit |