Eskimo North

Eskimo North Community - Register It's Free!
It is currently Sat May 18, 2013 7:00 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Aug 09, 2007 9:58 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 30, 2006 4:25 am
Posts: 239
Location: Shoreline, WA
doug wrote:
I often am in one of my subdirectories and want to delete every file in that directory and every subdirectory below it. When I enter the delete command (whatever it is, I'm not at my regular computer at the moment) I get an error that says that the subdirectories are not empty. What command will delete EVERYTHING below where I am in the file structure with one entry?

The command to remove a subdirectory and all files contained therein is: rm -rf directory
Be careful, this will NOT ask for confirmation and there is no undelete. Once those files are deleted, they are gone.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group