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] Custom filenames in archive #317

Open
psi-4ward opened this issue May 7, 2022 · 1 comment
Open

[FEATURE] Custom filenames in archive #317

psi-4ward opened this issue May 7, 2022 · 1 comment
Labels
Enhancement new feature or improvement

Comments

@psi-4ward
Copy link

What / Why

I've lot's of <some-tmp-filename> files which maps to a human-readable filename in a database so I want to rename the file inside the archive.

Something like

tar.create( gzip: true }, [
  new PackJob('my_dog.jpg', path.resolve('ada9dj0j091j2e')),
  new PackJob('water-picture.jpg', path.resolve('pl9sn47fhbf')),
])

Or is this already possible? Looks like the API is too restrieced.

@psi-4ward
Copy link
Author

used tar-stream for now: mafintosh/tar-stream#24 (comment)

@darcyclarke darcyclarke added the Enhancement new feature or improvement label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants