arcmkdir man page

arcmkdir — create directories


The arcmkdir command creates directories on grid storage elements and indexing services.


arcmkdir [options] url


-p, --parents

make parent directories as needed

-P, --listplugins

list the available plugins (protocols supported)

-t, --timeout=seconds

timeout in seconds (default 20)

-z, --conffile=filename

configuration file (default ~/.arc/client.conf)

-d, --debug=debuglevel


-v, --version

print version information

-?, --help

print help



the directory to create

Extended Description

The arcmkdir command creates directories on grid storage elements and indexing services. If the parent directory does not exist and -p is not specified, then arcmkdir will probably fail, but it depends on the protocol. The permissions on the new directory are the default of the server, or if the protocol requires them to be specified then the directory is only readable/writable/searchable by the user (the equivalent of 700 on a file system).

If url starts from '@', the remaining argument is assumed to be a path to a local file containing a list of URLs, one per line. In this case arcmkdir performs like it were called multiple times - once for every URL.

Depending on the installed libraries (check with -P ), the following protocols may be used: file  (file://  prefix  may  be omitted), http, https, httpg, ftp, gsiftp, srm, root.



Some options can be given default values by specifying them in the ARC client configuration file. By using the --conffile option a different configuration file can be used than the default.

Environment Variables


The location of the user's Grid proxy file. Shouldn't be set unless the proxy is in a non-standard location.


The location where ARC is installed can be specified by this variable. If not specified the install location will be determined from the path to the command being executed, and if this fails a WARNING will be given stating the location which will be used.


The location of ARC plugins can be specified by this variable. Multiple locations can be specified by separating them by : (; in Windows). The default location is $ARC_LOCATION/lib/arc (\ in Windows).


arcmkdir gsi


ARC software is developed by the NorduGrid Collaboration  (, please consult the AUTHORS file distributed with  ARC. Please report bugs and feature requests to

See Also

arccp(1), arcls(1), arcrename(1), arcrm(1),

Referenced By

arccat(1), arcclean(1), arccp(1), arcget(1), arcinfo(1), arckill(1), arcls(1), arcproxy(1), arcrename(1), arcrenew(1), arcresub(1), arcresume(1), arcrm(1), arcstat(1), arcsub(1), arcsync(1), arctest(1).

2018-02-28 NorduGrid ARC 5.4.2 NorduGrid Users Manual