ARCCP(1)

πŸ’– ARCCP β€” copy files πŸ’–

okay bestie, so this is arccp, a lil User Command from the ARC fam, and it's genuinely one of those tools that just works. it copies files around grid storage elements and honestly? iconic behaviour.


✨ NAME ✨

arccp β€” copy files 🫢


🌸 DESCRIPTION 🌸

Usage

arccp [OPTION...] source destination

so the way this works is: the arccp command copies files to, from and between grid storage elements. that's it. that's the whole vibe. source goes in, destination comes out, slay. ✨


πŸŽ€ OPTIONS πŸŽ€

okay here's the full menu, no skips, we don't gatekeep:

  • -h, --help β€” shows you the help options. bestie behaviour fr πŸ’…
  • -p, --passive β€” use passive transfer. (lowkey: it's off by default if secure is on, and on by default if secure is not requested. it's giving "depends on the situation")
  • -n, --nopassive β€” do not try to force passive transfer. it said what it said.
  • -f, --force β€” force overwrite of an existing destination. no hesitation, no questions, just vibes 😭
  • -i, --indicate β€” show a progress indicator. so you can watch it and feel something πŸ¦‹
  • -T, --notransfer β€” do not transfer, but register the source into the destination. note: the destination must be a meta-url. no cap.
  • -u, --secure β€” use secure transfer. (insecure by default, which is... a choice πŸ’€)
  • -y, --cache=path β€” path to the local cache (use this to put a file into the cache).
  • -r, --recursive β€” operate recursively. directories, we go down 🧚
  • -D, --depth=level β€” operate recursively up to the specified level. recursion with a leash.
  • -R, --retries=number β€” number of retries before failing the file transfer. stubborn queen energy πŸ‘‘
  • -L, --location=URL β€” physical location to write to when the destination is an indexing service. must be specified for indexing services which do not automatically generate physical locations. and you can specify it multiple times β€” locations will be tried in order until one succeeds. it's giving "plan b, c, d..."
  • -3, --thirdparty β€” perform a third party transfer, where the destination pulls from the source. (only available with the GFAL plugin β€” iykyk)
  • -P, --listplugins β€” list the available plugins (aka the protocols supported). the roster reveal 🌈
  • -t, --timeout=seconds β€” timeout in seconds. default 20.
  • -z, --conffile=filename β€” configuration file. default ~/.arc/client.conf.
  • --no-authentication β€” do not perform any authentication for opened connections. wild but okay 🫣
  • --x509-authentication β€” perform X.509 authentication for opened connections.
  • --token-authentication β€” perform token authentication for opened connections.
  • --systemca β€” force using the CA certificates configuration provided by OpenSSL.
  • --gridca β€” force using the CA certificates configuration for Grid services (typically IGTF).
  • --anyca β€” force using both the CA certificates configuration for Grid services (typically IGTF) and those provided by OpenSSL. why choose πŸ’…
  • --allowinsecureconnection β€” allow a TLS connection which failed verification. > bestie. bestie please. this is literally letting a connection through after it failed the vibe check. it's there if you need it, but know what you're doing πŸ™ˆ
  • -d, --debug=debuglevel β€” debug level. your options are: FATAL, ERROR, WARNING, INFO, VERBOSE or DEBUG.
  • -v, --version β€” print version information. the classic.

πŸ¦‹ EXTENDED DESCRIPTION πŸ¦‹

okay so 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 info on ARC URL syntax, go read "Protocols, Uniform Resource Locators (URL) and Extensions Supported in ARC" [NORDUGRID-TECH-7]. required reading, sorry not sorry πŸ“š

here's a fun one: if the 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. it's giving multiverse πŸŒ€

when copying directories, both the source and destination must end with the directory separator character, and a recursion option β€” -r or -D β€” must be specified. no separator, no deal.

all data transfer goes through the machine of the caller of arccp, even in the case of two remote endpoints, unless the --thirdparty option is used. with that option, credentials are delegated to the destination and it pulls the data directly from the source. in this case, the timeout option applies to the entire transfer itself, and default timeouts are used for connections to the remote endpoints. and note: third-party transfer is only possible if the GFAL2 plugin is installed.

depending on the installed libraries (check with -P), the following protocols may be used: file (the file:// prefix may be omitted), http, https, httpg, ftp, gsiftp, srm, root. and to connect source or destination to standard input/output, use '-' instead of a URL. cute right πŸŽ€


🌈 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. don't touch it if you don't need it, bestie.
  • 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 gsiftp://example.com/grid/file1.dat /tmp/file1.dat

look at her go πŸ’…


πŸ“ FILES πŸ“

  • ~/.arc/client.conf β€” some options can be given default values by specifying them in the ARC client configuration file. and by using the --conffile option, a different configuration file can be used than the default. customize your life ✨

πŸ’œ AUTHOR πŸ’œ

ARC software is developed by the NorduGrid Collaboration (http://www.nordugrid.org) β€” please consult the AUTHORS file distributed with ARC. please report bugs and feature requests to http://bugzilla.nordugrid.org. they want to hear from you fr fr πŸ“£


APACHE LICENSE Version 2.0. periodt.


🧚 SEE ALSO 🧚

arcls(1), arcmkdir(1), arcrename(1), arcrm(1) β€” the whole friend group, go say hi 🫢


and that's the page bestie!! this one's arccp version 7.2.0, dated September 2026 β€” so go forth, copy those files, and remember: you're the main character of your own grid storage πŸ’–βœ¨

πŸ“¦ where this page comes from