RMDIR

Section: Misc. Reference Manual Pages (1L)
Index Return to Main Contents
 

NAME

rmdir - remove empty directories  

SYNOPSIS

rmdir [-p] [--path] dir...  

DESCRIPTION

This manual page documents the GNU version of rmdir. rmdir removes each given empty directory. If any non-option argument does not refer to an existing empty directory, it is an error.  

OPTIONS

-p, --path
Remove any parent directories that are explicitly mentioned in an argument, if they become empty after the argument file is removed.

The long-named options can be introduced with `+' as well as `--', for compatibility with previous releases. Eventually support for `+' will be removed, because it is incompatible with the POSIX.2 standard.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS

This document was created by man2html, using the manual pages.
Time: 10:29:23 GMT, November 24, 2024