isc-tar - it's my library that works the same as tar tool in Linux, and with native support of gzip in InterSystems products you can easily compress files as tar.gz and decompress them. This project used in production as part of Package Manager project.
There two open-source projects
Another possible approach: