1DPNS-RM(1)                    DPNS User Commands                    DPNS-RM(1)
2
3
4

NAME

6       dpns-rm - remove DPNS files or directories in the name server
7

SYNOPSIS

9       dpns-rm [-f] [-i] filename...
10
11       dpns-rm [-f] [-i] -r dirname...
12

DESCRIPTION

14       dpns-rm  removes  DPNS  files  or  directories in the name server.  For
15       directories either -r or -R must be present.   For  regular  files,  it
16       calls dpns_unlink while for directories, it calls dpns_rmdir.
17
18       This  requires  write  permission  in the parent directory and the file
19       itself.  If write permission on an entry is denied, the standard  input
20       is  a  terminal  and  the  -f option is not given, the prompt "override
21       write protection" appears and if the response is not y,  the  entry  is
22       not  deleted.   Entries  directly under a protected directory are never
23       deleted.
24
25       path   specifies the DPNS pathname.  If path does not start with /,  it
26              is  prefixed  by  the content of the DPNS_HOME environment vari‐
27              able.
28

OPTIONS

30       The following options are supported:
31
32       -f     Do not give an error message  if  the  file/directory  does  not
33              exist.
34
35       -i     Request acknowledge before removing each individual entry.
36
37       -R     Recursive mode (equivalent to -r).
38
39       -r     Recursive mode.
40

EXIT STATUS

42       This  program  returns  0  if the operation was successful or >0 if the
43       operation failed.
44

SEE ALSO

46       Castor_limits(4), dpns_rmdir(3), dpns_unlink(3)
47

AUTHOR

49       LCG Grid Deployment Team
50
51
52
53DPNS                     $Date: 2002/10/18 11:57:00 $               DPNS-RM(1)
Impressum