The following provides a simple introduction to the SRM client tools.
srmcp is the dCache client tool. It is a command line tool which uploads or downloads files to/from an SRM.
The first time you run it, it probably creates a configuration file ~/.srmconfig/config.xml. Most of the defaults are reasonable, but you need to make the following two changes to this file: Set
<use_urlcopy_script> true </use_urlcopy_script>
and you also need to set the right path to the URL copy script:
<urlcopy> /opt/d-cache/srm/sbin/url-copy.sh </urlcopy>
You only need to do that once. srmcp does not overwrite an existing config file.
You must also make sure you have a valid grid proxy before you can use the tool.
Once the defaults are right, you can use srmcp:
srmcp [options] <from> <to>
To see what the options are, run
Some further details about testing SRMs.