NAME
kamiftp —
9p client
SYNOPSIS
kamiftp |
[-c] [-C
cert] [-K
key]
[user@]host[:port]
[path] |
DESCRIPTION
kamiftp is a 9p(7) client.
The options are as follows:
-c- Use TLS for the connection. If used,
-Cis mandatory. -Ccertificate- Specify the path to the client certificate to be use
during the TLS handsahke. Implies
-c. -Kkey- Specify the path to the client certificate key to be
used during the TLS handshake. If not given, the file passed to
-Cwill be used. Implies-c.
The following commands are recognized by
kamiftp:
bell[on|off]- Request terminal to sound a bell after each command. Without arguments toggle the current state.
bye- Terminate the session. Synomym of
quit. cdremote-path- Change the working directory on the remote machine to remote-path.
editremote-path- Download remote-path and open it with the preferred
editor (
VISUALorEDITORwith ed(1) as fallback) then attempt to re-upload it. getremote-file [local-file]- Fetch remote-file and save it locally as local-file. If local-file is not given, use the file name from remote-file.
hexdump[on|off]- Print the packets sent from/to the server. Without arguments, toggle the current state.
lcd[local-directory]- Change the local current working directory to
local-directory or the
HOMEif not given. lpwd- Print the local working directory.
ls- List the file in the remote current working directory.
pageremote-file- Download remote-file and open it with the
PAGER(less(1) by default). piperemote-file cmd [args...]- Fetch remote-file and pass it as standard input for cmd (with optional args).
putlocal-file [remote-file]- Upload local-file to remote-file. If remote-file is not given, use the file name from local-file.
quit- Terminate the session. Synomym of
bye. renameremote-file new-remote-name- Renames remote-file to new-remote-name on the remote server.
verbose[on|off]- Print verbose information. Without arguments toggle the current state.
ENVIRONMENT
The following environment variables are inspected:
HOME- The user login directory.
PAGER- The pager to use, less(1) by default.
VISUAL,EDITOR- The program used to edit files.
VISUALis inspected first,EDITORas a fallback. If both are undefined, ed(1) is given some love.
SEE ALSO
AUTHORS
The kamiftp utility was written by
Omar Polo
<op@omarpolo.com>.