drm(1dn) — Commands
Digital
NAME
drm − Delete remote files
SYNOPSIS
drm [-r] filespec
FLAGS
-r
Deletes all of the files from a directory and the directory itself. This option is valid only from DECnet-Plus to Digital UNIX systems.
filespec Is a complete file specification for a remote DECnet-Plus file or directory. The format for a file specification varies with each Digital operating system.
You can specify wildcard characters. If you want the target node instead of the local shell to interpret a string of wildcard characters, you must enclose the string in quotation marks.
DESCRIPTION
The drm command deletes one or more files from a remote directory. The command can delete entire Digital UNIX directories, but no other system’s directories.
RESTRICTIONS
If you specify the name of a directory, the -r option deletes the files in that directory and all existing supdirectories. This option is valid only between DECnet-Plus systems.
EXAMPLES
The following command deletes the file FARM.LIS from the remote DECnet-Plus node local:.davis: drm local:.davis::’dra2:[mango]farm.lis’ This command uses the -r option to delete all of the files in the directory olddata on the remote DECnet-Plus for Digital UNIX node ATHENS. If this command did not include a directory name, drm would use the access control information /george/seablue and the effect would be the deletion of all of the files and all of the directory names in george’s account: drm −r local:.athens/george/seablue::olddata
RELATED INFORMATION
DECnet-Plus for Digital UNIX Introduction and User’s Guide