Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rmdir(1) [debian man page]

RMDIR(1)							   User Commands							  RMDIR(1)

NAME
rmdir - remove empty directories SYNOPSIS
rmdir [OPTION]... DIRECTORY... DESCRIPTION
Remove the DIRECTORY(ies), if they are empty. --ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty -p, --parents remove DIRECTORY and its ancestors; e.g., `rmdir -p a/b/c' is similar to `rmdir a/b/c a/b a' -v, --verbose output a diagnostic for every directory processed --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report rmdir bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report rmdir translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
rmdir(2) The full documentation for rmdir is maintained as a Texinfo manual. If the info and rmdir programs are properly installed at your site, the command info coreutils 'rmdir invocation' should give you access to the complete manual. GNU coreutils 8.12.197-032bb September 2011 RMDIR(1)

Check Out this Related Man Page

RMDIR(1)							   User Commands							  RMDIR(1)

NAME
rmdir - remove empty directories SYNOPSIS
rmdir [OPTION]... DIRECTORY... DESCRIPTION
Remove the DIRECTORY(ies), if they are empty. --ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty -p, --parents remove DIRECTORY and its ancestors; e.g., `rmdir -p a/b/c' is similar to `rmdir a/b/c a/b a' -v, --verbose output a diagnostic for every directory processed --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report rmdir bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report rmdir translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
rmdir(2) The full documentation for rmdir is maintained as a Texinfo manual. If the info and rmdir programs are properly installed at your site, the command info coreutils 'rmdir invocation' should give you access to the complete manual. GNU coreutils 8.5 February 2011 RMDIR(1)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

remove a nonempty directory

How can I remove a non empty directory. ' rmdir directory_name ' complains that the directory is not empty. The same problem happens with ' rmdir directory_name/* ' Thanks (2 Replies)
Discussion started by: babayeve
2 Replies

2. UNIX for Dummies Questions & Answers

rmdir a non-empty directory.

hi, i understand that rmdir will only remove direcotry when it is empty but are there options which will also remove non-empty directories? i went to man rmdir but only find the option -p? i am on solaris. thanks (2 Replies)
Discussion started by: yls177
2 Replies

3. Solaris

Remove non empty dirctory

Hi, Any command or means to delete a director which is not empty rmdir or similar iam using Sun Solaries 2.6 :confused: I have many full directories with subdirectories and I can not go on emptying them all (5 Replies)
Discussion started by: adol3
5 Replies

4. Solaris

help with command

how to remove a non-empty directory using rmdir command. (2 Replies)
Discussion started by: sudhiroracle
2 Replies

5. Shell Programming and Scripting

redirection entree sortie

Bonjour, J'ai un répertoire /travail qui est vide. je lance dans une console cd /travail puis rmdir aa 2>&1 > /dev/null et s'affiche alors " rmdir : aa :Aucun fichier ou répertoire de ce type." J'essaie de comprendre : rmdir aa 2>&1 redirige 2 vers 1 donc le message d'erreur vers... (4 Replies)
Discussion started by: quisuisje
4 Replies

6. Post Here to Contact Site Administrators and Moderators

Remove confidential info

please remove following word from the respective links .There is a highy confidential info and hence we want it to be removed from site . https://www.unix.com/shell-programming-and-scripting/225177-max-size-directory.html words: itf ,ude,fititf ... (1 Reply)
Discussion started by: ptappeta
1 Replies