Creating a tar archive (not tar.gz) #674
Answered
by
piksel
AdisonCavani
asked this question in
Q&A
-
How can I create a |
Beta Was this translation helpful? Give feedback.
Answered by
piksel
Oct 9, 2021
Replies: 1 comment
-
You just replace the gzip stream with the file stream in the examples: Stream outStream = File.Create("output.tar.gz");
Stream gzoStream = new GZipOutputStream(outStream);
TarArchive tarArchive = TarArchive.CreateOutputTarArchive(gzoStream); => Stream outStream = File.Create("output.tar");
TarArchive tarArchive = TarArchive.CreateOutputTarArchive(outStream); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AdisonCavani
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just replace the gzip stream with the file stream in the examples:
=>