Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: zip #116

Closed
lowks opened this issue Apr 22, 2014 · 2 comments
Closed

feature request: zip #116

lowks opened this issue Apr 22, 2014 · 2 comments

Comments

@lowks
Copy link

lowks commented Apr 22, 2014

There is this:

https://github.com/brimworks/lua-zip

Can we consider integrating it's functions into Penlight so that we can possibly do something like:

> dir.getdirectories('/home/lowks').zip('all_directories.zip')

or

> dir.getfiles('/home/lowks').zip('all_directories.zip')
@stevedonovan
Copy link
Contributor

Zipping is a common operation, but I feel it's outside the scope of PL - after all, PL doesn't do sockets (although it does do simple XML, which is an exception).

Rather than introducing a new dependency here, I'd go for wrapping the underlying command (zip, 7z, whatever). That should work well enough!

@lowks
Copy link
Author

lowks commented Apr 22, 2014

Okay that will do too :)

@Tieske Tieske closed this as completed Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants