1CLDCLI(8) System Manager's Manual CLDCLI(8)
2
3
4
6 cldcli - Issue commands to CLD reliable file storage service
7
9 cldcli [options]
10
11 cldcli -?|--help
12
14 cldcli is used as a standard input (stdin)-based command line interface
15 to the CLD reliable file storage service.
16
18 -? --help
19 Shows a short help message.
20
21 -D --debug
22 Set debug verbosity level. 0 == none, 2 == max verbosity.
23
24 -h --host
25 Set host and TCP port to which cldcli should connect. SHOULD be
26 specified multiple times, once for each CLD server.
27
28 -u --user
29 Set username to USER.
30
31 -v --verbose
32 Enable verbose libhail output.
33
34 -V --version
35 Print program version, and exit.
36
38 Once a CLD session has been successfully established, the following
39 commands are available:
40
41 help Display short cldcli command reference.
42
43 cat FILE
44 Output contents of FILE
45
46 cd Change to root dir
47
48 cd DIR Change to DIR
49
50 cpin FS-FILE CLD-FILE
51 Copy contents of FS-FILE into CLD as CLD-FILE
52
53 cpout CLD-FILE FS-FILE
54 Copy contents of CLD-FILE out of CLD into FS-FILE
55
56 list locks
57 List locks currently held by this session
58
59 lock FILE
60 Obtain exclusive lock on FILE, waiting in b/g if necessary
61
62 ls List files in current dir
63
64 ls DIR List files in DIR
65
66 mkdir DIR
67 Create new directory DIR
68
69 rm FILE
70 Delete FILE
71
72 trylock FILE
73 Attempt to obtain exclusive lock on FILE
74
75 unlock FILE
76 Remove exclusive lock from FILE
77
78 quit Exit cldcli
79
80 exit Exit cldcli
81
82 <end-of-file>
83 Exit cldcli
84
86 At present, this utility assumes that username==password, and therefore
87 does not ask for a password.
88
90 cldcli is available over the Web at http://www.kernel.org/pub/soft‐
91 ware/network/distsrv/hail/
92
93
94
95
96Project Hail July 2010 CLDCLI(8)