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

RE: Removing Files and Subdirectories




Remove them with:
rm -fr /home/joeb/test_backup/

the -f forces the delete
the -r does the delete recursively

Be careful with this command because it is easy to delete stuff you don't
want to delete!!!

Justin R. Meats
(217) 221-0664
Internet Partners, Inc.
justin@internetpartners.com <mailto:justin@internetpartners.com>
http://www.internetpartners.com <http://www.internetpartners.com/>


> -----Original Message-----
> From: owner-luci-discuss@luci.org
> [mailto:owner-luci-discuss@luci.org]On
> Behalf Of joe bonansinga
> Sent: Friday, September 01, 2000 9:34 AM
> To: luci-discuss@luci.org
> Subject: Removing Files and Subdirectories
>
>
> 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.

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