gfal-mkdir1
Make directories
Usage
gfal-mkdir [OPTION] ...
DIRECTORY ...
Overview
gfal-mkdir Create the DIRECTORY(ies), if they do not already exist. By default, it creates them with mode 0755.
Options
-
-h, --help -
show help about the command.
-
-V, --version -
output version information and exit.
-
-v, --verbose -
verbose mode. Repeat up to 3 times for the most verbose mode.
-
-D, --definition DEFINITION -
define properties for gfal2. Definitions have the following syntax: "CONFIG_GROUP:KEY=VALUE"
-
-t, --timeout TIMEOUT -
global timeout for the execution of the command. Command is interrupted if time expires before it finishes. Note: A grace period of 30 seconds is given to the global timeout.
-
-E, --cert CERT -
user certificate. (This option takes effect only after X509_USER_PROXY environment variable and default /tmp/x509up_u`id -u` location cannot provide a certificate)
-
--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.
-
--log-file LOG_FILE -
write Gfal2 library logs to the given file location.
-
-m, --mode MODE -
set file mode (default is 0755). Depending on the storage implementation, it might not be used.
-
-p, --parents -
make parent directories as needed. Reports no error if directory exists.
Examples
|
-p -m 0700 file:///tmp/path1/path2 |
|---|---|
|
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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).