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 23 Oct 2014, 11:26
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 [4 Posts]  
Author Message
oldyeller


Joined: 15 Nov 2011
Posts: 812
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

Last edited by oldyeller on Sat 26 Jan 2013, 12:01; edited 1 time in total
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7835
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 poster's 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: 812
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 from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0457s ][ Queries: 11 (0.0082s) ][ GZIP on ]