how to zip file after tar
See original GitHub issue const stream = tar.pack()
stream.entry({ name: '/foo/test.txt' }, 'hello');
stream.finalize();
Now I have a tar stream, how to gz it?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
How to Tar Untar and Zip Files - HostDime Knowledge Base
Put a Directory into a TAR file and Compress it with GZIP ... Replace FILENAME with whatever filename you want and DIRECTORY with...
Read more >How to create a .tar.gz file on Linux - Mkyong.com
On Linux or macOS, there is a tar command to group files and folders into one archive file, aka tarball or a .tar...
Read more >How to use Tar and Zip - Anto Online
tar -zcvf sample.tar /path_to_directory. Use this command to archive a whole directory. · zip -r test.zip /path_to_directory. Execute the command ...
Read more >Zip file using tar on linux server - Unix Stack Exchange
If you'd like to have normal zip files, use zip command instead of tar / gz tandem. Also it is a good practice...
Read more >How to Zip and Unzip or Extract TAR and TAR.GZ Files
Using the tar Utility ... ...where archive is the name of the compressed file. The collective -xvzf flag stands for Extract, Verbose, gzip,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cwtuan I have written a solution here: https://github.com/mafintosh/tar-stream/issues/24