rmdir - UDM Command
Syntax
rmdir logical-name=directory
Description
The rmdir command removes the specified directory. Only the last directory in the path is removed.
The directory must be empty or the command fails. The delete command is available for file deletion.
There is no default directory.
The command is valid only for the hfs file system.
IBM i |
hfs supports the root and QOpenSys file systms under IFS. |
---|---|
z/OS |
hfs supports the UNIX System Services file system. |
Parameters
Parameter |
Description |
logical-name |
Logical name of the transfer server to execute the rmdir command. |
directory |
Name of the directory to remove. This can be a relative path. |
Examples
The following examples assume that the logical name remotesys is valid.
To remove the /home/max/tmp directory:
Windows
The example would be:
To remove the directory /home/max/tmp/abc using a relative path, assuming that the current directory is /home/max/ and that /home/max/tmp exists.
Windows
The example would be: