lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


local fname = " filename.txt"
local zip = "your_favorite_zip_packer.exe "
local opt = "-opt1 -opt2"
os.execute(zip .. opt .. fname)

your_favorite_zip_packer — infozip, 7zip, zip-NT or any other zip-packer. 

2015-05-21 23:43 GMT+03:00 Geoff Smith <spammealot1@live.co.uk>:
Hello
 
I need a quick and simple Lua Windows library to zip up some text files using Lua. I thought this would be easy to find as its such a common requirement.  The relevant wiki pages didn't seem to give me a library that satisfied the following
 
1)  Minimal dependencies, ideally just one or two DLL's that do the hard work.
2) Comes with the DLL binary(ies), and doesn't require me to faff around building the DLL myself.
3) Is simple to use and comes with some documentation on how to use it.
 
Have I missed a zipping library, that meets the above fairly basic criteria ? Any possible suggestions that I might have missed would be greatly appreciated.
 
Thanks Geoff