| View previous topic :: View next topic |
| Author |
Message |
ryal Voice
Joined: 12 May 2005 Posts: 35
|
Posted: Tue Apr 25, 2006 7:33 pm Post subject: Compressing files |
|
|
Hi!
I would like my bot to compress a directory (containing sub dirs and files, but its like a few kilos only) and then sending it
Is that doable?
When i use the compressfile function it says it needs a file
Is that possible to compress a directory?
Thx in advance |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Apr 26, 2006 4:16 am Post subject: |
|
|
nope
the easiest way to accomplish that is:
| Code: |
exec tar zcf dir.tgz .
|
_________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
ryal Voice
Joined: 12 May 2005 Posts: 35
|
Posted: Wed Apr 26, 2006 8:20 am Post subject: |
|
|
thx a bunch!
i tried this exec cmd, i didnt know we could execute external progs in an eggdrop
comes in handy! |
|
| Back to top |
|
 |
|