Re: [newbie] DelTree

2002-02-12 Thread Alaa The Great

On Mon, 11 Feb 2002 15:29:19 -0500
John Alex Rodriguez [EMAIL PROTECTED] wrote:

 rm -rf top-level derectory going to be deleted
 
 This could be very dangerously if carelessly.

you could also use mc for all your file management needs
mc is a console file manager that resembles the old DOS Norton Commander

it has lots of cool feature like browsing rpms and tar files and viewing
pdfs, man pages, htmls as formated text.

you can delete whole directories from mc very easily.

cheers,
Alaa



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DelTree

2002-02-12 Thread Hal Wigoda

 rm -fr directory name

will remove the directory
and all the folders
and file s contained within
given the correct permissions

 
 This is a multi-part message in MIME format...
 
 =_1013458257-13086-40
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 How do I delete a directory that contains files and more directories. I want to 
erase everything in the folder. Command Line please.  I hated the command line 
but its like crack, very addictive. Its actually easier and much more efficient then 
the gui. If your not using it I recommend learning as much as possible. 
 
 
 =_1013458257-13086-40
 Content-Type: text/plain; name=message.footer
 Content-Disposition: inline; filename=message.footer
 Content-Transfer-Encoding: 8bit
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 
 =_1013458257-13086-40--
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DelTree

2002-02-12 Thread tester

Paul Kraus wrote:

 How do I delete a directory that contains files and more directories. I want to 
erase everything in the folder. Command Line please.  I hated the command line 
but its like crack, very addictive. Its actually easier and much more efficient then 
the gui. If your not using it I recommend learning as much as possible. 
 
 
 
 
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
 

rm -r /whateverdirectoryname/and/path -f


the -r is for recursive (i. e. descend into subdirectories) and the -f 
is for force without asking

While

rm -rf /whateverdirectoryname/and/path

will work to the same effect, it is considered bad form.  Imagine that 
you type this far

rm -rf /

and then the household cat launches for your desktop and plops a fat paw 
on the enter key.  Your entire filesystem(s) are bye-bye, even 
/mnt/windows_c if you happen to have one and it is writeable.

Aside from having the household cat for supper, there is no 
compensation, and of course even less when you fat-finger the enter key 
yourself.  Take it from someone who has committed that faux pas.

Civileme





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com