I need to get the root directories of a compound file on a linux system. For this, i tried to use 7zip (p7zip-full) since this tool can read the compound file format.
This basically works great, but it outputs an horrible parsable text.
So my question to the community is, is there a chance to get this output parsed nicely to get an output like:
I need this information inside of a php script. so at the end, the command will be executed from a php script. If there is any chance to read the compound file structure directly with php, this would be highly appreciated.