English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-09 06:52:39 · 4 answers · asked by benam 1 in Computers & Internet Programming & Design

i exactly wanted to known about rmdir. what is the shell prog. for deleting non empty directory using rmdir?

2006-09-09 07:01:56 · update #1

4 answers

The command "rmdir" deletes an empty directory.

If you want to delete a directory which has content (files and/or more directories) use "rm -r".

By the way, users Sweet Baby and Yahoo Admin, you've been reported. This is serious.

2006-09-09 06:55:43 · answer #1 · answered by BRUNO O' 5 · 0 0

Function : excl:delete-directory-and-files
Arguments:directory &key if-does-not-exist quiet force
Notes: Deletes the directory named by directory and all of its subdirectories and files

2006-09-10 01:25:06 · answer #2 · answered by girraj 1 · 0 0

2 points

2006-09-09 15:43:42 · answer #3 · answered by Private 3 · 0 1

Gotta either program it or use a GUI file manager for it, there isn't a commandline alternative to rm that I know of.

Unless you count on mkfs for entire drive.

2006-09-09 14:02:16 · answer #4 · answered by Andy T 7 · 0 0

fedest.com, questions and answers