xrdfs(1) - Linux man page
Name
xrdfs - xrootd file and directory meta-data utility
Synopsis
xrdfs host[:port] [command [args]]
command: help, chmod, locate, mkdir, mv, stat, statvfs, query, rm ,rmdir,
truncate
Description
The xrdfs utility executes meta-data oriented operations (e.g., ls, mv, rm, etc.) on one or more xrootd servers. Command help is available by invoking xrdfs with no command line options or parameters and then typing "help" in response to the input prompt.
Commands
chmod path <user><group><other>
- Modify permissions of the path. Permission string example: rwxr-x--x
- ls [-l] [-u] [dirname]
- Get directory listing.
-l stat every entry and pring long listing
-u print paths as URLs- locate [-n] [-r] [-d] <path>
- Get the locations of the path.
-r refresh, don't use cached locations
-n make the server return the response immediately even though it may be incomplete
-d do a recursive, deep locate in order to find data servers- mkdir [-p] [-m<user><group><other>] <dirname>
- Creates a directory/tree of directories.
-p create the entire directory tree recursively
-m<user><group><other> permissions for newly created directories- mv <path1> <path2>
- Move path1 to path2 locally on the same server.
- stat <path>
- Get info about the file or directory.
- statvfs <path>
- Get info about a virtual file system.
- query <code> <params>
- Obtain server information. Query codes:
config <what> Server configuration
checksumcancel <path> File checksum cancelation
checksum <path> File checksum
opaque <arg> Implementation dependent
opaquefile <arg> Implementation dependent
space <space> Logical space stats
stats <what> Server stats
xattr <path> Extended attributes- rm <filename>
- Remove a file.
- rmdir <dirname>
- Remove a directory.
- truncate <filename> <length>
- Truncate a file.
- ls [-l] [-u] [dirname]
Notes
For the list of available environment variables please refere to xrdcopy(1)
Diagnostics
Errors yield an error message and a non-zero exit status.
License
LGPL
Support Level
The xrdfs command is supported by the XRootD Collaboration. Contact information can be found at
http://xrootd.org/contact.html