0

I search a code to compressed a folder in tar.gz archive format. I work on Linux with Boost.

Praetorian
  • 103,386
  • 18
  • 232
  • 318

1 Answers1

2

Boost doesn't have support for tar/zip/... archives.

For that, the most comprehensive library I know is libarchive, which is used by many reputable projects, and supports all of the above.

You would still us e.g. Boost Iostreams compression filters to arrive at a compressed tar in that case.

sehe
  • 350,152
  • 45
  • 431
  • 590