1LFC‐LS(1)                            LFC       User      Commands
2LFC‐LS(1)
3
4
5
6[1mNAME[0m
7       lfc‐ls ‐ list LFC name server directory/file entries
8
9[1mSYNOPSIS[0m
10       [1mlfc‐ls     [22m[[1m‐cdhiLlRTu[22m]     [[1m‐‐class[22m]
11[[1m‐‐comment[22m] [[1m‐‐deleted[22m] [[1m‐‐display_side[22m]
12       [[1m‐‐ds[22m] [[1m‐‐si[22m] [4mpath[24m...
13
14[1mDESCRIPTION[0m
15       [1mlfc‐ls  [22mlists  LFC  name server directory/file  en‐
16tries.   If  [4mpath[24m  is  a
17       directory,  [1mlfc‐ls  [22mlist  the entries in the direc‐
18tory; they are sorted
19       alphabetically.
20
21       [4mpath[24m    specifies the LFC pathname.  If [4mpath[24m
22does not start with  [1m/[22m,  it
23              is prefixed  by  the  content  of  the  [1mLFC_HOME
24[22menvironment variable.
25
26[1mOPTIONS[0m
27       [1m‐c      [22muse  time of last metadata modification in‐
28stead of last file mod‐
29              ification.
30
31       [1m‐d     [22mif [4mpath[24m is a directory, list the  di‐
32rectory entry itself, not the
33              files in that directory.
34
35       [1m‐h     [22mwith  ‐l, print sizes in human readable for‐
36mat, using few digits
37              and a suffix k, M, G, T or P to  indicate  kB,  MB,
38GB,  TB  or  PB
39              respectively.
40
41       [1m‐i     [22mprint the file uniqueid in front of each en‐
42try.
43
44       [1m‐L     [22mfor  symbolic  links,   print   target   at‐
45tributes instead of link
46              attributes.
47
48       [1m‐l     [22mlong listing (see below).
49
50       [1m‐R      [22mlist the contents of directories recursive‐
51ly.
52
53       [1m‐T     [22mlist file segments migrated to tape.
54
55       [1m‐u     [22muse last access time instead of last modifi‐
56cation.
57
58       [1m‐‐class[0m
59              print the file class in front of each entry.
60
61       [1m‐‐comment[0m
62              print  the  comment associated with the entry after
63the pathname.
64
65       [1m‐‐deleted[0m
66              print also the logically deleted files.
67
68       [1m‐‐display_side [22mor [1m‐‐ds[0m
69              print the vid followed by a slash followed  by  the
70media  side
71              number.    This   option   is   valid only if ‐T is
72specified and is
73              useful for multi‐sided media like DVD.
74
75       [1m‐‐si   [22muse powers of 1000 not 1024 for sizes.
76
77       The long list gives the file mode, the number  of  entries
78in the  direc‐
79       tory,   the owner in alphabetic form or as a valid numeric
80ID, the group
81       in alphabetic form or as a  valid  numerci  ID,  the  file
82size,  the  last
83       modification date and the file name.
84
85       The   mode   is printed as 10 characters, the first one is
86[1md [22mfor a direc‐
87       tory, [1mD [22mfor a logically deleted file, [1ml  [22mfor
88a symbolic link,  [1mm  [22mfor  a
89       migrated   file   and  [1m‐  [22mfor  a regular file.  The
90next 9 characters are
91       three triplets: the first triplet gives  read,  write  and
92execute/search
93       permission for the owner, the second triplet for the group
94and the last
95       one for the others.
96
97              [1mr      [22mthe file is readable
98
99              [1mw      [22mthe file is writable
100
101              [1mx      [22mthe file is executable or the  direc‐
102tory is searchable
103
104              [1m‐      [22mpermission is not granted
105
106              [1ms      [22mset‐user‐ID or set‐group‐ID bit is on
107and  corresponding
108                     execute bit is on
109
110              [1mS      [22mset‐user‐ID  or  set‐group‐ID bit  is
111on but corresponding
112                     execute bit is off
113
114              [1mt      [22msticky bit is on
115
116       The  file segments list gives the file segment status, the
117copy  number,
118       the  file segment number, the tape visual identifier,  the
119file sequence
120       number  on  tape, the blockid, the segment size, the  com‐
121pression  factor
122       and  the  file  name.  The segment status  can  be  either
123[1m‐ [22mfor an active
124       segment or [1mD [22mfor a logically deleted segment.
125
126[1mEXIT STATUS[0m
127       This program returns 0 if the operation was successful  or
128>0  if  the
129       operation failed.
130
131[1mSEE ALSO[0m
132       [1mCastor_limits(4)[22m, [1mlfc_chmod(3)[22m,
133
134
135
136[1mAUTHOR[0m
137       [1mLCG Grid Deployment [22mTeam
138
139
140
141LFC                                                        $Date$
142LFC‐LS(1)
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
Impressum