GFAL-MKDIR(1)
π GFAL-MKDIR(1) β General Commands Manual π
okay bestie, pull up a chair (or don't, it's a manpage) because this is gfal-mkdir(1), and it's literally just mkdir but for the grid π
if you've ever used mkdir you already know 90% of this, and the other 10% is where it gets cute.
β¨ NAME β¨
gfal-mkdir β make directories. that's it. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
gfal-mkdir [ OPTION ]... DIRECTORY...
πΈ DESCRIPTION πΈ
gfal-mkdir creates the DIRECTORY(ies) you hand it β but only if they don't already exist, because we're not messy like that π by default it makes them with mode 0755.
π OPTIONS π
-h,--helpβ shows help about the command. your little "what does this do again" button π«Ά-V,--versionβ outputs version info and dips out. bye π-v,--verboseβ verbose mode. you can repeat it up to 3 times for the most verbose mode. yes, three. go off, stack them, be extra, the tool supports it β¨-D,--definition DEFINITIONβ define properties for gfal2. definitions use this syntax:"CONFIG_GROUP:KEY=VALUE"-t,--timeout TIMEOUTβ global timeout for running the command. if time runs out before it finishes, the command gets interrupted. note: a grace period of30seconds is given to the global timeout, so it's not instant-instant π-E,--cert CERTβ user certificate. (this one only kicks in after theX509_USER_PROXYenvironment variable and the default/tmp/x509up_uid -u`` location can't provide a certificate β so it's the backup plan, not the main character)--key KEYβ user private key. π-4β forces Gfal2 to use IPv4 addresses only. (option valid only for GridFTP protocol)-6β forces Gfal2 to use IPv6 addresses only. (option valid only for GridFTP protocol)-C,--client-info CLIENT_INFOβ provide custom client-side information. tell it about yourself, it's listening π¬--log-file LOG_FILEβ write Gfal2 library logs to the given file location. receipts, but saved to disk π§Ύ-m,--mode MODEβ set file mode (default is0755). heads up though: depending on the storage implementation, it might not be used at all. so, like, suggesting a mode π-p,--parentsβ make parent directories as needed. and it reports no error if the directory already exists. this is the peacekeeper of flags fr fr ποΈ
π EXAMPLES π
make a nested path with a specific mode:
gfal-mkdir -p -m 0700 file:///tmp/path1/path2
make two directories on an SRM endpoint at once, because why do two commands when one slays:
gfal-mkdir srm://endpoint.cern.ch/path/directory1 srm://endpoint.cern.ch/path/directory2
π§ FILES π§
/etc/gfal2.d/*β all configuration files in this directory affect the behavior of the underlying gfal2. yes, all of them. that whole folder is the personality π
π AUTHORS π
these are the people who made this, show some respect π
- 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, no cap:
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 page, bestie π«Ά this little icon is v1.7.1, dated March 2022 β go make some directories, you absolute legend β
π¦ 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