commands
Script commands
Every command you can use in a linscp-cli script or session, with links to the details.
These are the commands that linscp-cli accepts at its prompt, in a script
file passed with /script, or as arguments to /command. For how scripts
are put together, read
Scripting with linscp-cli.
| Command | Purpose |
|---|---|
call |
Run a shell command or raw protocol command on the server. |
cd |
Change the remote working directory. |
checksum |
Print the hash of one remote file. |
chmod |
Change the permissions of remote files. |
close |
Close a session. |
cp |
Copy files to another place on the same server. |
echo |
Print a line of text. |
exit |
Close all sessions and quit linscp-cli. |
get |
Download files from the server. |
help |
List the commands or show help for some of them. |
keepuptodate |
Watch a local directory and mirror its changes to the server. |
lcd |
Change the local working directory. |
lls |
List a local directory. |
ln |
Create a symbolic link on the server. |
lpwd |
Print the local working directory. |
ls |
List a remote directory. |
mkdir |
Create a remote directory. |
mv |
Move or rename remote files. |
open |
Connect to a server. |
option |
Show or change the script options. |
put |
Upload files to the server. |
pwd |
Print the remote working directory. |
rm |
Delete remote files and directories. |
rmdir |
Delete empty remote directories. |
session |
List open sessions or switch to another one. |
stat |
Show the attributes of one remote file. |
synchronize |
Make a local and a remote directory match. |