egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[solved]deleting directory?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Thu Oct 04, 2007 12:37 pm    Post subject: [solved]deleting directory? Reply with quote

How can I delete a hole folder which is not empty?
_________________
socketapi | Code less, create more.


Last edited by sKy on Sat Oct 06, 2007 8:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Oct 04, 2007 1:50 pm    Post subject: Reply with quote

Read the manpage on file delete and it should be pretty obvious.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Sat Oct 06, 2007 10:43 am    Post subject: Re: deleting directory? Reply with quote

sKy wrote:
How can I delete a hole folder which is not empty?
you mean to delete the file in the shell, not via a script, right?
rm -rf {foldername}
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sat Oct 06, 2007 8:11 pm    Post subject: Reply with quote

It was file delete. Why this is now in shell & bouncer help? Nvm, issues is solved.
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Oct 06, 2007 8:51 pm    Post subject: Reply with quote

sKy wrote:
It was file delete. Why this is now in shell & bouncer help? Nvm, issues is solved.

It is here because it's nothing to do with eggdrop and all to do with knowing how to use your shell.

Your initial post:
Quote:
How can I delete a hole folder which is not empty?

I suggest you visit the Linux Command Directory.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Oct 07, 2007 8:08 am    Post subject: Reply with quote

Emm.. Post said nothing 'bout shell, and since it was posted in in "Scripting Help", atleast to me it was quite obvious sKy was looking for some info on how to recursively remove a directory from within tcl.

I'm pretty much puzzled why it was moved here aswell...

Of course you could try to run the rm command using exec, but if you ask me, that'd be overkill since we already have the lovely file command in tcl...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber