GFAL-LS(1)
πΈ GFAL-LS(1) β the "what's in this directory tho" manual πΈ
okay bestie, welcome to the gfal-ls page from the General Commands Manual β yes that manual, the fancy one β¨
β¨ NAME β¨
gfal-ls β list directory contents or file information. that's it, that's the job π
π¦ SYNOPSIS π¦
gfal-ls [ OPTION ]... FILE
π DESCRIPTION π
so gfal-ls lists info about the file, periodt. Depending on the implementation, some info from the long listing β like group and user ids β might not be available, and in that case it just shows up as 0 π« no drama.
β οΈ real talk though: when you're listing several files or directories, if one of them returns an error, the execution is canceled. the whole thing. gone. so keep that in mind bestie π
π OPTIONS π
-h,--helpβ shows help about the command. classic, iconic π«Ά-V,--versionβ spits out version information and exits. bye π-v,--verboseβ verbose mode. repeat it up to 3 times for the most verbose mode, aka main character energy.-D,--definition DEFINITIONβ define properties for gfal2. Definitions have this syntax:"CONFIG_GROUP:KEY=VALUE"β yes, exactly like that, no cap.-t,--timeout TIMEOUTβ global timeout for the execution of the command. the command gets interrupted if time expires before it finishes. Note: a grace period of 30 seconds is given to the global timeout. so it's a lil generous, we love that π-E,--cert CERTβ user certificate. (this option only takes effect after theX509_USER_PROXYenvironment variable and the default/tmp/x509up_u`id -u`location cannot provide a certificate β iykyk)--key KEYβ user private key. π-4β forces Gfal2 to use IPv4 addresses only. (option valid only for the GridFTP protocol)-6β forces Gfal2 to use IPv6 addresses only. (option valid only for the GridFTP protocol)-C,--client-info CLIENT_INFOβ provide custom client-side information. π«Ά--log-file LOG_FILEβ write Gfal2 library logs to the given file location. receipts, but for logs π-a,--allβ don't hide files with a name starting in.β yes we're showing the hidden ones, we're nosy and that's valid πΈ-l,--longβ long listing format. these columns get displayed for each entry: mode, number of links, group id, user id, last modification time, size and name. the full serve π-d,--directoryβ list directory entries instead of its contents. so you see the folder itself, not what's inside it π-H,--human-readableβ with-l, print sizes in human readable format (e.g.:1K,234M,2G). we love numbers we can actually read β¨--xattr XATTRβ with-l, query additional attributes. can be specified multiple times. stack 'em up π§--time-style STYLEβ specify the time style. supports these values:locale,iso,long-isoorfull-iso(partially). note the "partially", bestie, don't come for me π--full-timeβ equivalent to--time-style=full-iso. it's giving the same thing.--color MODEβ with-l, enable or disable color output. supports these values:always,never,auto. pick your vibe π
π₯ EXAMPLES π₯
Long listing of all files:
gfal-ls -laH srm://endpoint.cern.ch/path/file
List a directory instead of its contents:
gfal-ls -d file:///tmp
π FILES π
/etc/gfal2.d/*β all configuration files in this directory affect the behavior of the underlying gfal2. yes, all of them, they're running the show π
π AUTHORS π
the literal icons who made this happen:
- Duarte Meneses <duarte.meneses@cern.ch>
- Adrien Devresse <adrien.devresse@cern.ch>
- Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>
- Andrea Manzi <andrea.manzi@cern.ch>
- Mihai Patrascoiu <mihai.patrascoiu@cern.ch>
- Joao Lopes <joao.pedro.batista.lopes@cern.ch>
π«Ά SEE ALSO π«Ά
the whole friend group, go say hi:
gfal-cat(1), gfal-chmod(1), gfal-copy(1), gfal-ls(1), gfal-mkdir(1), gfal-rename(1), gfal-rm(1), gfal-save(1), gfal-stat(1), gfal-sum(1), gfal-token(1), gfal-xattr(1), gfal-evict(1), gfal-bringonline(1), gfal-archivepoll(1)
and that's the whole page, bestie β¨ this was v1.7.1, dated March 2022 β slay, stay hydrated, and may all your listings return zero errors ππ¦πΈ
π¦ where this page comes from
- debian bookworm: gfal2-util-scripts 1.8.0-1 Β· Apache-2.0
- debian trixie: gfal2-util-scripts 1.9.0-2 Β· Apache-2.0
- epel 10: gfal2-util-scripts 1.9.1-1.el10_2 Β· Apache-2.0
- epel 9: gfal2-util-scripts 1.9.1-1.el9 Β· Apache-2.0
- nixos 26.05: python3.13-gfal2-util 1.9.1
- nixos 26.05: python3.14-gfal2-util 1.9.1
- nixpkgs unstable: python3.13-gfal2-util 1.9.1
- nixpkgs unstable: python3.14-gfal2-util 1.9.1
- ubuntu noble: gfal2-util-scripts 1.8.1-1 Β· Apache-2.0
- ubuntu questing: gfal2-util-scripts 1.9.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms