Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 11:14
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to remove a directory using a script?SOLOVED
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
oldyeller


Joined: 15 Nov 2011
Posts: 813
Location: Mishawaka IN

PostPosted: Sat 26 Jan 2013, 03:29    Post_subject:  How to remove a directory using a script?SOLOVED  

Hi Everyone,

I have a directory I want to remove when all of its contents have been installed.

Can this be done? i have tried but it says cannot remove it is a directory.

any help would be very great

Cheers

Edited_time_total
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Sat 26 Jan 2013, 03:35    Post_subject:  

rm -r /path/to/directory
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sat 26 Jan 2013, 04:55    Post_subject:  

01micko wrote:
rm -r /path/to/directory


..but not rm -r /*
Back to top
View user's profile Send_private_message 
oldyeller


Joined: 15 Nov 2011
Posts: 813
Location: Mishawaka IN

PostPosted: Sat 26 Jan 2013, 12:01    Post_subject:  

01micko wrote:
rm -r /path/to/directory


Thanks Mick that worked!!!

Cheers
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0405s ][ Queries: 12 (0.0036s) ][ GZIP on ]