Extract a tar.xz in C/C++ -
I am writing a program that downloads tar.xz files to a server and removes them to a certain location. I'm struggling to find a way to remove the tar.xz file at a certain location. I am using QT so that the more Q-way to do this will be useful, but I do not really have any problems.
There is no support for archives in QT. You can either monitor the KDE Library which is virtual File system provides support or you can call QProcess
directly to call tar
. To specify the directory, -C & lt; Dir> Use
(uppercase case).
[edit] This is also (BSD license).
Comments
Post a Comment