drm(1dn)
NAME
drm − delete remote files
SYNTAX
drm [−d] [−r] filespec
where
−d prints debugging information in the form of DAP message traces to stderr.
−r deletes all of the files from a directory and the directory itself.
Note
If you specify the name of a directory, this option deletes all of the files in that directory, all the files in all of the subdirectories, and the names of both the specified directory and all existing subdirectories.
This option is valid only between DECnet-ULTRIX systems.
filespec is a complete file specification for a remote DECnet 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.
See the DECnet-ULTRIX User’s and Programmer’s Guide for a description of all DECnet file specifications.
DESCRIPTION
The drm command deletes one or more files from a remote system. The command can delete an entire ULTRIX directory plus the directory name, but not directories on non-ULTRIX systems.
EXAMPLES
The following command deletes the file FARM.LIS from the remote DECnet-VAX node DAVIS:
% drm davis::’dra2:[mango]farm.lis’
The following command uses the −r option to delete all of the files in the directory olddata on the remote DECnet-ULTRIX node ATHENS. Note that 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 athens/george/seablue::olddata