ARCRENAME(1) | NorduGrid Users Manual | ARCRENAME(1) |
arcrename - rename file or directory
The arcrename renames files or directories on grid storage elements and indexing services.
arcrename [options] oldurl newurl
The arcrename command renames files or directories on grid storage elements and indexing services. The path component of oldurl and newurl must differ and it must be the only component of both URLs which is different. arcrename will exit with an error if the paths are equivalent or other components of the URLs are different. Renaming a URL to an existing URL will either fail or overwrite the existing URL, depending on the protocol. arcrename works purely at the namespace level and does not perform data transfer.
For more information on ARC URL syntax please read "Protocols, Uniform Resource Locators (URL) and Extensions Supported in ARC" [NORDUGRID-TECH-7]
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. However renaming is not supported or implemented for some of those protocols.
arcrename gsiftp://example.com/grid/file.dat gsiftp://example.com/grid/new.file.dat
APACHE LICENSE Version 2.0
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
2018-11-26 | NorduGrid ARC 5.4.3 |