1GFAL-MKDIR(1)               General Commands Manual              GFAL-MKDIR(1)
2
3
4

NAME

6       gfal-mkdir - make directories
7

SYNOPSIS

9       gfal-mkdir [ OPTION ]...  DIRECTORY...
10
11

DESCRIPTION

13       gfal-mkdir  Create the DIRECTORY(ies), if they do not already exist. By
14       default, it creates them with mode 0755.
15
16

OPTIONS

18       -h, --help
19              show help about the command.
20
21       -V, --version
22              output version information and exit.
23
24       -v, --verbose
25              verbose mode. Repeat up to 3 times for the most verbose mode.
26
27       -D, --definition DEFINITION
28              define properties for gfal2. Definitions have the following syn‐
29              tax: "CONFIG_GROUP:KEY=VALUE"
30
31       -t, --timeout TIMEOUT
32              global  timeout for the execution of the command. Command is in‐
33              terrupted if time expires before it finishes. Note: A grace  pe‐
34              riod of 30 seconds is given to the global timeout.
35
36       -E, --cert CERT
37              user   certificate.   (This   option  takes  effect  only  after
38              X509_USER_PROXY     environment     variable     and     default
39              /tmp/x509up_u`id -u` location cannot provide a certificate)
40
41       --key KEY
42              user private key.
43
44       -4     forces  Gfal2 to use IPv4 addresses only. (Option valid only for
45              GridFTP protocol)
46
47       -6     forces Gfal2 to use IPv6 addresses only. (Option valid only  for
48              GridFTP protocol)
49
50       -C, --client-info CLIENT_INFO
51              provide custom client-side information.
52
53       --log-file LOG_FILE
54              write Gfal2 library logs to the given file location.
55
56       -m, --mode MODE
57              set file mode (default is 0755). Depending on the storage imple‐
58              mentation, it might not be used.
59
60       -p, --parents
61              make parent directories as needed. Reports no error if directory
62              exists.
63
64

EXAMPLES

66       gfal-mkdir
67              -p -m 0700 file:///tmp/path1/path2
68
69       gfal-mkdir
70              srm://endpoint.cern.ch/path/directory1                srm://end‐
71              point.cern.ch/path/directory2
72
73

FILES

75       /etc/gfal2.d/*
76              All configuration files in this directory affect the behavior of
77              the underlying gfal2.
78
79

AUTHORS

81       Duarte Meneses <duarte.meneses@cern.ch>
82       Adrien Devresse <adrien.devresse@cern.ch>
83       Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>
84       Andrea Manzi <andrea.manzi@cern.ch>
85       Mihai Patrascoiu <mihai.patrascoiu@cern.ch>
86       Joao Lopes <joao.pedro.batista.lopes@cern.ch>
87
88

SEE ALSO

90       gfal-cat(1),  gfal-chmod(1),  gfal-copy(1),  gfal-ls(1), gfal-mkdir(1),
91       gfal-rename(1), gfal-rm(1),  gfal-save(1),  gfal-stat(1),  gfal-sum(1),
92       gfal-token(1), gfal-xattr(1)
93
94
95
96v1.7.1                            March 2022                     GFAL-MKDIR(1)
Impressum