cldcli man page
cldcli — Issue commands to CLD reliable file storage service
cldcli is used as a standard input (stdin)-based command line interface to the CLD reliable file storage service.
- -? --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.
Once a CLD session has been successfully established, the following commands are available:
Display short cldcli command reference.
- cat FILE
Output contents of FILE
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
List files in current dir
- ls DIR
List files in DIR
- mkdir DIR
Create new directory DIR
- rm FILE
- trylock FILE
Attempt to obtain exclusive lock on FILE
- unlock FILE
Remove exclusive lock from FILE
At present, this utility assumes that username==password, and therefore does not ask for a password.
cldcli is available over the Web at http://www.kernel.org/pub/software/network/distsrv/hail/