Content-type: text/html
Manpage of Srm
Srm
Section: User SRB Commands (1)
Updated: Jan 2003
Index
Return to Main Contents
NAME
Srm - Remove files from SRB space
SYNOPSIS
Srm
[-n
replicaNum]
[-puf] [-A
condition] srbObj ...
Srm
[-n
replicaNum]
[-puf] [-A
condition] srbObj|collection ...
DESCRIPTION
In the first synopsis form, Srm erases each
srbObj
from SRB space.
In the second synopsis form, Srm erases recursively each
srbObj and/or collection
from SRB space.
This new Srm command by default, will move the files and collections designated for removal into the /trash or /myZone/trash collections.
For immediate removal at the time of execution, the
-f
option should be used. The
Srmtrash
command can be used to purge the trash directories.
If any
srbObj
is replicated, then all copies are erased.
The user should have at least 'all' access permission for each
SrbObj
erased.
The
srbObj
argument can be a path name in the SRB collection hierarchy.
OPTIONS
- -h
-
display command options
- -p
-
Prompts before removing each object from SRB space.
- -f
-
Force the immediate removal at the time of execution..
- -r
-
Recursively remove collections and subcollections in the argument
list. The collection will be emptied of datasets and removed.
- -n
-
the replicaNum of the copy to be removed.
- -u
-
Unregister the data from MCAT. The physical data file is not removed.
- -A
-
condition
option is an '&' separated condition which will be applied
in choosing the object to be removed. The separated condition
is of the form "<Attr> <CompOp> <Value>", where <Attr> is an
MCAT attribute found by
Sattrs
command, <CompOp> is a comparison operator and <Value> is a
numeric or string value. The entire condition should be within
a set of double quotes. Example: Srm -A "COPY = 0" foo.txt
SEE ALSO
Sput(1),
Srmtrash(1),
Srmdir(1),
Sattrs(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:44:15 GMT, July 02, 2004