| View previous topic :: View next topic |
| Author |
Message |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Thu Oct 04, 2007 12:37 pm Post subject: [solved]deleting directory? |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Oct 04, 2007 1:50 pm Post subject: |
|
|
Read the manpage on file delete and it should be pretty obvious. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Sat Oct 06, 2007 10:43 am Post subject: Re: deleting directory? |
|
|
| 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} _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Sat Oct 06, 2007 8:11 pm Post subject: |
|
|
It was file delete. Why this is now in shell & bouncer help? Nvm, issues is solved. _________________ socketapi | Code less, create more. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Oct 06, 2007 8:51 pm Post subject: |
|
|
| 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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Oct 07, 2007 8:08 am Post subject: |
|
|
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 |
|
 |
|