1 fb1a36c0 2022-01-09 op .\" Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 fb1a36c0 2022-01-09 op .\" Permission to use, copy, modify, and distribute this software for any
4 fb1a36c0 2022-01-09 op .\" purpose with or without fee is hereby granted, provided that the above
5 fb1a36c0 2022-01-09 op .\" copyright notice and this permission notice appear in all copies.
7 fb1a36c0 2022-01-09 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 fb1a36c0 2022-01-09 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 fb1a36c0 2022-01-09 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 fb1a36c0 2022-01-09 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 fb1a36c0 2022-01-09 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 fb1a36c0 2022-01-09 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 fb1a36c0 2022-01-09 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 fb1a36c0 2022-01-09 op .Dd $Mdocdate: December 16 2021 $
16 fb1a36c0 2022-01-09 op .Dt KAMIREPL 1
20 fb1a36c0 2022-01-09 op .Nd 9p repl client
24 fb1a36c0 2022-01-09 op .Op Fl C Ar cert
25 fb1a36c0 2022-01-09 op .Op Fl H Ar host
26 fb1a36c0 2022-01-09 op .Op Fl K Ar key
27 fb1a36c0 2022-01-09 op .Op Fl P Ar port
28 fb1a36c0 2022-01-09 op .Sh DESCRIPTION
34 fb1a36c0 2022-01-09 op The optinos are as follows:
35 fb1a36c0 2022-01-09 op .Bl -tag -width tenletters
36 fb1a36c0 2022-01-09 op .It Fl C Ar cert
37 fb1a36c0 2022-01-09 op Path to the TLS client certificate to use.
39 fb1a36c0 2022-01-09 op Use TLS for the connection.
43 fb1a36c0 2022-01-09 op are mandatory if used.
44 fb1a36c0 2022-01-09 op .It Fl H Ar host
45 fb1a36c0 2022-01-09 op Hostname of the file server.
47 fb1a36c0 2022-01-09 op Display usage and exit.
48 fb1a36c0 2022-01-09 op .It Fl K Ar key
49 fb1a36c0 2022-01-09 op Path to the TLS client certificate private key.
50 fb1a36c0 2022-01-09 op .It Fl P Ar port
51 fb1a36c0 2022-01-09 op Port number to connect to.
53 fb1a36c0 2022-01-09 op Verbose logging.
56 fb1a36c0 2022-01-09 op The interactive commands are
57 fb1a36c0 2022-01-09 op .Bl -tag -width Ds
58 fb1a36c0 2022-01-09 op .It Ic version Op Ar version-string
59 fb1a36c0 2022-01-09 op .Ar version-string
63 fb1a36c0 2022-01-09 op .It Ic attach Ar fid Ar uname Ar aname
64 fb1a36c0 2022-01-09 op Request the file server to attach the file tree identified by
66 fb1a36c0 2022-01-09 op to the specified
70 fb1a36c0 2022-01-09 op is the identifier for the user.
71 fb1a36c0 2022-01-09 op The afid used is implicitly NOFID.
72 fb1a36c0 2022-01-09 op .It Ic clunk Ar fid
75 fb1a36c0 2022-01-09 op .It Ic flush Ar oldtag
76 fb1a36c0 2022-01-09 op Require the server to flush
78 fb1a36c0 2022-01-09 op .It Ic walk Ar fid Ar newfid Ar wnames...
79 fb1a36c0 2022-01-09 op Do a walk from
83 fb1a36c0 2022-01-09 op component and associating the reached file to
85 fb1a36c0 2022-01-09 op .It Ic open Ar fid Ar mode Op Ar flag
104 fb1a36c0 2022-01-09 op to truncate the file or
106 fb1a36c0 2022-01-09 op to remove the file upon
108 fb1a36c0 2022-01-09 op .It Ic create Ar fid Ar name Ar perm Ar mode
109 fb1a36c0 2022-01-09 op Create the file
111 fb1a36c0 2022-01-09 op and open it with
116 fb1a36c0 2022-01-09 op should be used to select the permissions of the file, but is currently
118 fb1a36c0 2022-01-09 op .It Ic read Ar fid Ar offset Ar count
119 fb1a36c0 2022-01-09 op Issue a read request for the given
121 fb1a36c0 2022-01-09 op which must have been prepared for I/O with
128 fb1a36c0 2022-01-09 op .It Ic write Ar fid Ar offset Ar content
135 fb1a36c0 2022-01-09 op .It Ic remove Ar fid
136 fb1a36c0 2022-01-09 op Delete the file identified by
138 fb1a36c0 2022-01-09 op and close it.
139 fb1a36c0 2022-01-09 op Even in case of error,
144 fb1a36c0 2022-01-09 op .Xr kamiftp 1
151 fb1a36c0 2022-01-09 op utility was written by
152 fb1a36c0 2022-01-09 op .An Omar Polo Aq Mt op@omarpolo.com .