arccp(1) - Linux man page

Name

arccp - copy files

Description

The arccp command copies files to, from and between grid storage elements.

Synopsis

arccp [options] source

destination

Options

-p, --passive
use passive transfer (off by default if secure is on, on by default if secure is not requested)
-n, --nopassive
do not try to force passive transfer
-f, --force
if the destination is an indexing service and not the same as the source and the destination is already registered, then the copy is normally not done. However, if this option is specified the source is assumed to be a replica of the destination created in an uncontrolled way and the copy is done like in case of replication. Using this option also skips validation of completed transfers.
-i, --indicate
show progress indicator
-T, --notransfer
do not transfer file, just register it - destination must be non-existing meta-url
-u, --secure
use secure transfer (insecure by default)
-y, --cache=path
path to local cache (use to put file into cache)
-r, --recursive=level
operate recursively up to specified level
-R, --retries=number
number of retries before failing file transfer
-L, --location=URL
physical file to write to when destination is an indexing service. Must be specified for indexing services which do not automatically generate physical locations. Can be specified multiple times - locations will be tried in order until one succeeds.
-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
FATAL, ERROR, WARNING, INFO, VERBOSE or DEBUG
-v, --version
print version information
-?, --help
print

help

Arguments

source
the source of the transfer
destination
the destination of the transfer

Extended Description

The arccp command copies files to, from and between grid storage elements. It can also be used to register files in file index catalogues, either automatically as the result of a file transfer, or by using the --notransfer option. For more information on ARC URL syntax please read "Protocols, Uniform Resource Locators (URL) and Extensions Supported in ARC" [NORDUGRID-TECH-7]

If source and/or destination start 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 arccp 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, lfc, rls, srm. To connect source or destination to standard input/output use '-' instead of URL.

Files

~/.arc/client.conf
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

X509_USER_PROXY
The location of the user's grid proxy file. Shouldn't be set unless the proxy is in a non-standard location.
ARC_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.
ARC_PLUGIN_PATH
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).

Example

arccp -i lfc://lfc.org/grid/file1.dat /tmp/file1.dat

Copyright

APACHE LICENSE Version 2.0

Author

Mattias Ellert <mattias.ellert@fysast.uu.se>

See Also

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

Referenced By

arcacl(1), arcmkdir(1)