xrd1
Interactive xrootd ftp-like client
Usage
xrd HOST
[OPTIONS]
Overview
Xrd is a ftp-like(1) tool to interact with an xrootd server.
Commands are
cddirectory-
Change directory.
envputintvariable integer-
Set an environment variable variable to an integer value
integer.
envputstrvariable string-
Set an environment variable variable to a string value
string.
help-
Show interactive help.
exit-
Exit the client
connect[host:[port]]-
Connect to the specified host.
dirlist[directory]-
Lists the contents of the specified directory or current directory if no argument is given.
statfile-or-directory-
Get information on a file or directory.
existsfilefile-
Checks if a file exists on the server.
existsdirdirectory-
Checks if a directory exists on the server.
getchecksumfile-
Computes and returns the check sum of a file.
isfileonlinefile-
Tells if the specified file is online.
mvfile1 file2-
Moves file1 to file2 on the same server.
mkdirdirectory [user] [group] [other]-
Creates a directory with optional permissions.
chmodfile-or-directory user group other-
Modifies file permissions.
rmfile-
Removes a file.
rmdirdirectory-
Removes a directory.
preparefile-
Stages a file in.
catfile [xrdcp parameters]-
Outputs a file on standard output using xrdcp(1). file can be a
root://
cpfile-or-directory file-or-directory [xrdcp parameters]-
Copies a file using xrdcp(1). file-or-directory are always relative to the current remote path. Also, they can be
root://URLs specifying any other host
Options
-
-dLEVEL -
Set the debug level
-DIparam value-
Set parameter param to an integer value. Override the default value of an internal
XrdClientsetting.
-DSparam value-
Set parameter param to a string value. Override the default value of an internal
XrdClientsetting.
-
-O -
Adds some opaque information to any used
xrootdurl.
-
-h -
Show help.
Original authors
Fabrizio Furano