Sample to create a .tar.gz file from source directory #6

Closed
opened 2026-01-29 22:03:24 +00:00 by claunia · 1 comment
Owner

Originally created by @jsinh on GitHub (Mar 5, 2014).

Hello,
I am really in need to find a library which can take of my .tar.gz compression needs.
This library seems promising to me, but somehow I am not able to get around the code to create a sample for .tar.gz file creation from source directory (source directory will contain more sub folder and files).

I would be thankful if the team can add a sample snippet for the same in your documentation or wiki page for reference or in reply to this issue.

-Jsinh

Originally created by @jsinh on GitHub (Mar 5, 2014). Hello, I am really in need to find a library which can take of my .tar.gz compression needs. This library seems promising to me, but somehow I am not able to get around the code to create a sample for .tar.gz file creation from source directory (source directory will contain more sub folder and files). I would be thankful if the team can add a sample snippet for the same in your documentation or wiki page for reference or in reply to this issue. -Jsinh
Author
Owner

@adamhathcock commented on GitHub (Apr 15, 2014):

The unit tests are a good starting point: https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress.Test/GZip/GZipWriterTests.cs

@adamhathcock commented on GitHub (Apr 15, 2014): The unit tests are a good starting point: https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress.Test/GZip/GZipWriterTests.cs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#6