0

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

Praetorian
  • 106,671
  • 19
  • 240
  • 328

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
  • 374,641
  • 47
  • 450
  • 633