💾 Archived View for kamid.omarpolo.com › kamiftp.1.txt captured on 2024-06-16 at 12:02:28.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

KAMIFTP(1)	     General Commands Manual	       KAMIFTP(1)

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, -C is
	     mandatory.

     -C certificate
	     Specify the path to the client certificate to be use
	     during the TLS handsahke.	Implies -c.

     -K key  Specify the path to the client certificate key to be
	     used during the TLS handshake.  If not given, the
	     file passed to -C will 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.

     cd remote-path
	     Change the working directory on the remote machine
	     to remote-path.

     edit remote-path
	     Download remote-path and open it with the preferred
	     editor (VISUAL or EDITOR with ed(1) as fallback)
	     then attempt to re-upload it.

     get remote-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 HOME if not given.

     lpwd    Print the local working directory.

     ls	     List the file in the remote current working
	     directory.

     page remote-file
	     Download remote-file and open it with the PAGER
	     (less(1) by default).

     pipe remote-file cmd [args...]
	     Fetch remote-file and pass it as standard input for
	     cmd (with optional args).

     put local-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.

     rename remote-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.  VISUAL is inspected
	     first, EDITOR as a fallback.  If both are undefined,
	     ed(1) is given some love.

SEE ALSO
     9p(7), kamid(8)

AUTHORS
     The kamiftp utility was written by Omar Polo
     <op@omarpolo.com>.

OpenBSD 7.2		 August 28, 2022	      OpenBSD 7.2