cldcli man page

cldcli — Issue commands to CLD reliable file storage service

Synopsis

cldcli [options]

cldcli -?|--help

Description

cldcli is used as a standard input (stdin)-based command line interface to the CLD reliable file storage service.

Options

-? --help
Shows a short help message.
-D --debug
Set debug verbosity level. 0 == none, 2 == max verbosity.
-h --host
Set host and TCP port to which cldcli should connect. SHOULD be specified multiple times, once for each CLD server.
-u --user
Set username to USER.
-v --verbose
Enable verbose libhail output.
-V --version
Print program version, and exit.

Commands

Once a CLD session has been successfully established, the following commands are available:

help
Display short cldcli command reference.
cat FILE
Output contents of FILE
cd
Change to root dir
cd DIR
Change to DIR
cpin FS-FILE CLD-FILE
Copy contents of FS-FILE into CLD as CLD-FILE
cpout CLD-FILE FS-FILE
Copy contents of CLD-FILE out of CLD into FS-FILE
list locks
List locks currently held by this session
lock FILE
Obtain exclusive lock on FILE, waiting in b/g if necessary
ls
List files in current dir
ls DIR
List files in DIR
mkdir DIR
Create new directory DIR
rm FILE
Delete FILE
trylock FILE
Attempt to obtain exclusive lock on FILE
unlock FILE
Remove exclusive lock from FILE
quit
Exit cldcli
exit
Exit cldcli
<end-of-file>
Exit cldcli

Bugs

At present, this utility assumes that username==password, and therefore does not ask for a password.

Availability

cldcli is available over the Web at http://www.kernel.org/pub/software/netw…

Info

July 2010 Project Hail