[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing Files and Subdirectories




cd /home/joeb/
rm -rf test_backup/ (removes test_backup and everything underneath)

or

cd /home/joeb/test_backup/
rm -rf * (removes everything underneath, but keeps test_backup dir)

On Fri, 1 Sep 2000, joe bonansinga wrote:

> This may be a simple question, but I am still a newbie. What is the correct 
> command to recursively remove files from subdirectories and then the 
> directories themselves moving through a few levels without being prompted by 
> interactive messages for each file.
> Ie.
> I want to remove all the files and subdirectories under
> /home/joeb/test_backup/  all at once.
> The test_backup directory contains numerous testfiles and subdirectories.
> 
> I hope this makes sense.
> 
> Joe Bonansinga
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at 
> http://profiles.msn.com.
> 
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
> 

- Kara

-------------------------------------------------------------
Kara Pritchard, RHCE                    Phone: 618-398-7360
-------------------------------------------------------------

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.