Rev 2 | Blame | Compare with Previous | Last modification | View Log | RSS feed
.\" Hey, EMACS: -*- nroff -*-.\" First parameter, NAME, should be all caps.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection.\" other parameters are allowed: see man(7), man(1).TH LSFTP 1 "Aug 21 2002" lsftp "lsh manuals".\" Please adjust this date whenever revising the manpage..\".\" Some roff macros, for reference:.\" .nh disable hyphenation.\" .hy enable hyphenation.\" .ad l left justify.\" .ad b justify to both left and right margins.\" .nf disable filling.\" .fi enable filling.\" .br insert line break.\" .sp <n> insert n+1 empty lines.\" for manpage-specific macros, see man(7).SH NAMElsftp \- lsh's sftp client.SH SYNOPSIS.B lsftp.RI [ transport-options ] [-- " command" ...].SH DESCRIPTIONThis manual page documents briefly the.B lsftpcommand.This manual page was written for the Debian distributionbecause the original program does not have a manual page.Instead, it has documentation in the GNU Info format; see below..PP.\" TeX users may be more comfortable with the \fB<whatever>\fP and.\" \fI<whatever>\fP escape sequences to invode bold face and italics,.\" respectively.\fBlsftp\fP is a program that connects to a remote sftp server, and can beused to upload download files \['a] la FTP. When invoked with no command arguments,lsftp enters interactive mode, much like \fBftp (1)\fP. However, when the\fI--\fP argument and subsequent commands are passed to lsftp, lsftp simplyexecutes those commands and exits..SH OPTIONSThis program follows the usual GNU command line syntax, with longoptions starting with two dashes (`-').A summary of options is included below.For a complete description, see the Info files..TP.B \-\-helpShow summary of options..TP.B \-\-versionShow version of program..SH COMMANDS.TP.B cd \fIdirectory\fPChange the current directory on the remote server to \fIdirectory\fP..TP.B rm \fIfilespec\fPRemoves files or directories. To delete directories, the \-r option needs to bespecified. The rm command doesn't accept wildcards by default, to enable theseyou must specify the \-g option..TP.B deleteAlias for \fBrm\fP..TP.B mkdir \fIdir\fPMake directory \fIdir\fP..TP.B aboutDisplay information about lsftp..TP.B helpDisplays a list of commands..TP.B ?Alias for \fBhelp\fP..TP.B longhelpDisplays the list of commands with detailed information about each command..TP.B ls \fIfilespec\fPList remote files and folders..TP.B listAlias for \fBls\fP..TP.B dir(Another) Alias for \fBls\fP..TP.B pwdPrint the current working directory..TP.B quitQuit lsftp..TP.B exitQuit lsftp..TP.B set [\fIvar=value\fP]Sets or shows variables. Without an argument, \fIset\fP displays the current variable state. Witha \fIvar=value\fP argument, \fBset\fP sets the appropriate variable in the environment..TP.B mailRuns the \fBmail (1)\fP command..TP.B umask [\fIvalue\fP]Sets or displays the remote umask..TP.B jobsPrints information about currently running jobs..TP.B open \fIsite\fPOpen a sftp connection to \fIsite\fP..TP.B closeClose the current connection..TP.B mv \fIold\-filename\fP \fInew\-filename\fPRename file \fIold\-filename\fP to \fInew\-filename\fP..TP.B renameAlias for \fBmv\fP..TP.B ln \fIfile\fP \fIlink\fPMake \fIlink\fP a symlink to \fIfile\fP..TP.B get \fIremote\-file\fPRetrieve \fIremote\-file\fP on the remote system to the local system..TP.B put \fIlocal\-file\fPSend \fIlocal\-file\fP on the local system to the remote system..TP.B chown \fIuid\fP \fIfile\fPChange the ownership of \fIfile\fP to be owned by the user represented by\fIuid\fP..TP.B chgrp \fIgid\fP \fIfile\fPChange the group ownership of \fIfile\fP to be owned by the group represented by\fIgid\fP..TP.B lcd \fIdir\fPChange the current local directory to \fIdir\fP..TP.B lrm \fIfile\fPRemove \fIfile\fP from the \fBlocal\fP system..TP.B ldeleteAlias for \fBlrm\fP..TP.B llsList files on the local system..TP.B llistAlias for \fBlls\fP..TP.B lpwdPrint the current local working directory..TP.B ! \fIcommand\fPExecutes \fIcommand\fP in a shell on the local system..SH ENVIRONMENT.TP.B LSFTP_RSHThe program to use for the SSH tunnel. If the variable is not set, lsftpdefaults to using lshg..TP.B LSFTP_BEFORE_ARGS.TP.B LSFTP_AFTER_ARGS.SH SEE ALSO.BR lsh (1),.BR mail (1),.BR lshd (8),.BR lshg (8)..BRThe programs are documented fully by.IR "Lsh" ,available via the Info system..SH AUTHORThis manual page was written by Timshel Knoll <timshel@debian.org>,for the Debian GNU/Linux system (but may be used by others).