I need to write c code which displays all the files and directories in a specified path. I want to know if there is any way I can explode zip, jar, war, ear, tar files recursively.
i.e if there is a tar file in a directory, i should be able to untar it and display its contents. And if another tar file exists as a part of its content, then i should be able to untar it also till am left with a simple file.
same is the case with zip/war/ear/jar files.
Can anyone please help me in this regard.