DPNS-RM(1) | DPNS User Commands | DPNS-RM(1) |
dpns-rm - remove DPNS files or directories in the name server
dpns-rm [-a] [-f] [-i] filename...
dpns-rm [-f] [-i] -r dirname...
dpns-rm removes DPNS files or directories in the name server. For directories either -r or -R must be present. For regular files, it calls dpns_unlink while for directories, it calls dpns_rmdir.
This requires write permission in the parent directory and the file itself. If write permission on an entry is denied, the standard input is a terminal and the -f option is not given, the prompt "override write protection" appears and if the response is not y, the entry is not deleted. Entries directly under a protected directory are never deleted.
The following options are supported:
This program returns 0 if the operation was successful or >0 if the operation failed.
LCG Grid Deployment Team
$Date: 2011/11/04 11:57:00 $ | DPNS |