1GFAL-LS(1) General Commands Manual GFAL-LS(1)
2
3
4
6 gfal-ls - list directory contents or file information
7
9 gfal-ls [-h] [-V] [-v] [-D DEFINITION] [-C CLIENT-INFO] [-t TIMEOUT]
10 [-a] [-l] [-d] [-H] file
11
12
14 gfal-ls List information about the file. Depending on the implementa‐
15 tion, some information from the long listing, such as group and user
16 ids, might not be available and will be displayed as 0. When listing
17 several files or directories, if one returns an error, the execution is
18 canceled.
19
20
22 -h, --help
23 show help about the command
24
25 -V, --version
26 output version information and exit.
27
28 -v, --verbose
29 verbose mode. Repeat up to 3 times for the most verbose mode.
30
31 -D, --definition
32 define properties for gfal2.
33
34 -C, --client-info
35 provide custom client-side information
36
37 -t, --timeout
38 global timeout for the execution of the command. Command is
39 interrupted if time expires before it finishes.
40
41 -a, --all
42 don't hide files with name starting in '.'.
43
44 -l, --long
45 long listing format. Following columns are displayed for each
46 entry: mode, number of links, group id, user id, last modifica‐
47 tion time, size and name.
48
49 -d, --directory
50 list directory entries instead of its contents.
51
52 -H, --human-readable
53 with -l, print sizes in human readable format (e.g., 1K 234M
54 2G).
55
56 --time-style
57 time style. supports locale, iso, long-iso and full-iso (par‐
58 tially)
59
60 --full-time
61 equivalent to --time-style=full-iso
62
63 --color
64 enable or disable color output. supports always, never, auto.
65
66
68 Long listing of all files:
69 gfal-ls -laH srm://endpoint.cern.ch/path/file
70
71 List a directory instead of its contents:
72 gfal-ls -d file:///tmp
73
74
76 /etc/gfal2.d/*
77 All configuration files in this directory affect the behavior of
78 the underlying gfal2.
79
80
82 Duarte Meneses <duarte.meneses@cern.ch>
83 Adrien Devresse <adrien.devresse@cern.ch>
84 Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>
85
86
88 gfal-cat(1), gfal-chmod(1), gfal-copy(1), gfal-ls(1), gfal-mkdir(1),
89 gfal-rename(1), gfal-rm(1), gfal-save(1), gfal-stat(1), gfal-sum(1),
90 gfal-xattr(1)
91
92
93
94v1.5.0 May 2017 GFAL-LS(1)