| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Yafc presents the user with an internal shell. Command redirection is
available, using the conventional shell syntax (eg cat foo.txt > foo
will copy the remote file foo.txt to the local file foo.) Input redirection,
however, is not supported. Also asynchronous mode is not supported. The
following will thus be rejected: ls |emacs & or open < login.foo.
3.1 Yafc commands all yafc internal commands 3.2 Nohup transfers
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
All commands follow the usual GNU command line syntax, with long options starting with two dashes (`--').
Most commands have an option `--help' that shows a short syntax description.
3.1.1 !execute shell command 3.1.2 afslogobtain remote AFS tokens 3.1.3 aliascreate an alias 3.1.4 bookmarkcreate a bookmark 3.1.5 cachecontrol directory cache 3.1.6 catview a text file 3.1.7 cdchange working directory 3.1.8 cdupchange to parent directory 3.1.9 chmodchange access mode (permissions) of files 3.1.10 closeclose connection 3.1.11 copyrightshow copyright notice 3.1.12 filetimeprint file modification time 3.1.13 flushflush replies 3.1.14 fxptransfer files between hosts 3.1.15 getget files 3.1.16 helpdon't panic 3.1.17 idlemodify idle time 3.1.18 kauthauthenticate to Kerberos 3.1.19 kdestroydestroy Kerberos tickets 3.1.20 klistlist Kerberos tickets 3.1.21 krbtkfilespecify Kerberos ticket file 3.1.22 lcdchange local working directory 3.1.23 listshow raw directory listing 3.1.24 lpwdprint local working directory 3.1.25 lsshow directory listing 3.1.26 ltagtag local files 3.1.27 luntagremove files from local taglist 3.1.28 mkdircreate directory 3.1.29 mvmove files 3.1.30 nlistshow filename list 3.1.31 nopdo nothing 3.1.32 openopen a connection 3.1.33 protchange Kerberos data protection level 3.1.34 putput files 3.1.35 pwdprint working directory 3.1.36 quitquit Yafc 3.1.37 quotesend arbitrary FTP command 3.1.38 reopenreopen active connection 3.1.39 rhelpremote help 3.1.40 rmremove files 3.1.41 rmdirremove empty directory 3.1.42 rstatusshow status 3.1.43 setshow and set variables 3.1.44 shellexecute local shell 3.1.45 siteissue a site specific FTP command 3.1.46 sourceread a configuration file 3.1.47 statusshow local status 3.1.48 switchswitch between open connections 3.1.49 systemshow type of system 3.1.50 tagtag files 3.1.51 unaliasremove an alias 3.1.52 untagremove files from taglist 3.1.53 urlprint the current FTP url 3.1.54 usersend new user information 3.1.55 versionshow Yafc version 3.1.56 warrantyshow lack of warranty
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
! shell) command.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
afslog | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
alias | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
bookmark Usage:
bookmark [options] [bookmark name ...] |
Options:
bookmark. The bookmarks file
will be rewritten.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
cache Control the directory cache.
Usage:
cache [options] [directory ...] |
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
cat Usage:
cat [options] file ... |
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
cd Usage:
cd [directory] |
If no argument is given, cd changes to the home directory. The home
directory is the current directory when logged in.
If the argument is '-', cd changes to the previous working directory.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
cdup cd ...
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
chmod Usage:
chmod mode file ... |
Mode must be given in octal representation (for example: 0644 is -rw-r--r---).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
close | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
copyright | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
filetime | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
flush | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
fxp This will not always work with all ftp servers, either because passive mode is not supported on the source host, or because the target refuses the given port. The target ftp server might refuse the port as a security policy. You might get the error 'Illegal PORT Command' or 'Possible port theft'.
If the destination file already exists, and none of the options `--append', `--force', `--newer', `--resume', `--skip-existing' or `--unique' is given, you will be prompted what to do.
Usage:
fxp [options] file ... |
Options:
Examples:
fxp --target=2 foo.tar.gz -o bar.tar.gz |
fxp --target=funet *.tar.gz -o foo |
fxp -T ftp.stacken.kth.se foo -r -o bar |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
get Transfer files from remote server to local computer.
If the destination file already exists, and none of the options `--append', `--force', `--newer', `--resume', `--skip-existing' or `--unique' is given, you will be prompted what to do.
Usage:
get [options] file ... |
Options:
Examples:
get foo.tar.gz -o bar.tar.gz |
get *.tar.gz -o foo |
get foo -r -o bar |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
help | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
idle | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
kauth | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
kdestroy | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
klist | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
krbtkfile | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
lcd | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
list | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
lpwd | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ls Usage:
ls [options] [files ...] |
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ltag | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
luntag | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mkdir Usage:
mkdir directory |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mv | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
nlist | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
nop | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
open Opens a new connection to an FTP server.
Usage: open [options] [proto://][user[:password]@]hostname[:port][/directory] ...
proto can be either 'ftp' or 'ssh'
Options:
Specify `--sftp=""' to disable the sftp-server path, and use sftp subsystem instead.
If you don't know the remote path to the sftp-server program, the default for OpenSSH is `/usr/libexec/sftp-server'. Another common path is `/usr/bin/sftp-server'.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
prot Changes the data protection level for data transfers. The protection level defines how data transfers are handled by the security mechanism.
Usage:
prot [options] [command | data] protlevel |
Options:
Valid protection levels are:
clear
safe
private
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
put If the destination file already exists, and none of the options `--append', `--force', `--newer', `--resume', `--skip-existing' or `--unique' is given, you will be prompted what to do.
Usage:
put [options] file ... |
Options:
Examples:
put foo.tar.gz -o bar.tar.gz |
put *.tar.gz -o foo |
put foo -r -o bar |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
pwd Prints the current remote working directory.
Usage: pwd
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
quit | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
quote | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
reopen Reopen a timed out connection.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
rhelp | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
rm Remove files on remote server.
Usage: rm [options] file...
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
rmdir | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
rstatus | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
set | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
shell | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
site Usage:
site command |
Try site help or rhelp site for more information
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
source | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
status | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
switch Usage:
switch [options] [connection] |
Options:
The connection argument specifies which connection to switch to. It can be specified either as the connection number or with the name (hostname or alias).
If no argument is given, switch to the next open connection.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
system | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
tag Usage:
tag [options] file ... |
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
unalias | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
untag | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
url Usage:
url [options] |
Options:
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
user | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
version | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
warranty | [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
get and put has an option `--nohup'. When given, Yafc will fork itself
to the background and continue to transfer the specified files,
allowing you to use your shell or even logout. Output
is redirected to the file `~/.yafc/nohup/nohup.pid', or to file specified
by option `--logfile=FILE'.
If you have tagged any files (with the tag command, see 3.1.50 tag), add
the option `--tagged' to the get command to transfer those files too.
There is an equivalent command for local files and put, namely ltag.
Yafc will also enter nohup mode upon receipt of SIGHUP.
Set nohup_mailaddress in the yafcrc file to a valid mail address if you want to receive a mail notifying you when the transfer is complete.
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |