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

NAME

6       lfc-rm - remove LFC files or directories in the name server
7

SYNOPSIS

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

DESCRIPTION

14       lfc-rm removes LFC files or directories in the name server.  For direcā€
15       tories either -r or -R must be present.  For regular  files,  it  calls
16       lfc_unlink while for directories, it calls lfc_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 LFC pathname.  If path does not start with  /,  it
26              is prefixed by the content of the LFC_HOME environment variable.
27

OPTIONS

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

EXIT STATUS

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

SEE ALSO

45       Castor_limits(4), lfc_rmdir(3), lfc_unlink(3)
46

AUTHOR

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