This command, used with LM-NT-OS/2 servers, deletes remote files. You may delete system or hidden files.
TNHOME/usr/bin
rudel [-u username] [{-p password|-P}] [-C charset] [-a {s|h}] //servername/object/path
-u username |
Specify the name of the user for the remote server. |
-p password |
Specify username's password on the command line. No subsequent password prompt appears. |
-P |
Prompt for username's password. The password does not display as you type it. This option proves especially if you want to include the command but not the password in a batch file. |
-C charset |
Specify the client character set. If not specified, the character set defaults to builtin-codepage-437. Valid character sets include: builtin-mac-roman builtin-iso-latin-1 builtin-unicode builtin-codepage-437 You can use additional character sets if you install TAS. |
-a |
Include files of one or both of the following types: s -- System files h -- Hidden files |
servername |
Specify the name of the remote server. |
object |
Specify the name of a shared object on a remote LM-NT-OS/2 server. |
path |
Specify a full or relative directory and file on the remote server. This option permits the use of wildcards. |
If you include no -a options, this command finds only the files marked Read-Only, Directory, and Archive.
Use the following command to delete all files in the subdirectory tmp of the shared object root on the server pipe and prompt for a password:
rudel -P //pipe/root/tmp/*.* |
Use the command below to delete the files with the extension .obj in the subdirectory comp of the shared object dev on the server projectpc. The shared object dev has no password.
rudel //projectpc/dev/comp/*.obj |
Use the following command to delete all files with the extension .tmp, including hidden files, using the object data in the directory tmp on the server Troy, and prompt for a password, as user galaxy:
rudel -u galaxy -P -ah //Troy/data/tmp/*.tmp |