LSFTP_RSH
The program to use for the SSH tunnel. If the variable is not set, lsftp defaults to using lshg.
Client for the sftp subsystem
lsftp [OPTION] ...
[--
[COMMAND] ...]
lsftp is a program that connects to a remote sftp server, and can be used to upload download files á la FTP. When invoked with no command arguments, lsftp enters interactive mode, much like ftp (1) (although with a more feature rich interface, providing tab completion, recursive up and downloads and more). However, when the -- argument and subsequent commands are passed to lsftp, lsftp simply executes those commands and exits.
Anything (except the special options --, --help and --version ) before the last (if any) -- is handled as options, meaning lsftp passes them directly to the transport program. If you want to pass -- to the transport program, you must give an extra -- to make sure it's not handled as end of options, e.g.
lsftp OPTIONS -- MORE OPTIONS --
to enter interactive mode or
lsftp -l OTPIONS -- MORE OPTIONS -- ls
to perform the ls command.
--help
Show summary of options.
--version
Show version of program.
--
End of options (if the last occurence).
Change the current directory on the remote server to directory.
Removes files or directories. To delete directories, the -r option needs to be specified. The rm command doesn't accept wildcards by default, to enable these you must specify the -g option.
deleteAlias for rm.
Make directory dir.
aboutDisplay information about lsftp.
helpDisplays a list of commands.
Alias for help.
longhelpDisplays the list of commands with detailed information about each command.
List remote files and folders.
listAlias for ls.
dir(Another) Alias for ls.
pwdPrint the current working directory.
quitQuit lsftp.
exitQuit lsftp.
Sets or shows variables. Without an argument, set displays the current variable state. With a var=value argument, set sets the appropriate variable in the environment.
mailRuns the mail (1) command.
Sets or displays the remote umask.
jobsPrints information about currently running jobs.
Open a sftp connection to site.
closeClose the current connection.
Rename file old-filename to new-filename.
renameAlias for mv.
Make link a symlink to file.
Retrieve remote-file on the remote system to the local system.
Send local-file on the local system to the remote system.
Change the ownership of file to be owned by the user represented by uid.
Change the group ownership of file to be owned by the group represented by gid.
Change the current local directory to dir.
Remove file from the local system.
ldeleteAlias for lrm.
llsList files on the local system.
llistAlias for lls.
lpwdPrint the current local working directory.
Executes command in a shell on the local system.
LSFTP_RSH
The program to use for the SSH tunnel. If the variable is not set, lsftp defaults to using lshg.
LSFTP_BEFORE_ARGS
LSFTP_AFTER_ARGS
may be used to specify default options to be parsed before and after the command line options, making it possible to provide default transport options as well as commands if desired.
The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution for details.
10 releases since Debian 3.1 (Sarge); the text changed 1 time.