Can somebody help me to figure out a command to find a file recursively that is embedded in a tgz file which is within another tgz files recursively:
MainFile.tgz → SubFile1.tgz → SubFile2.tgz → SubFile3.tgz → abc.txt
My goal is to be able to list abc.txt without extracting MainFile.tgz nor SubFileX.tgz.
The command below is only listing the first level of files (i.e. SubFile.tgz); therefore the grep command cannot find abc.txt in the list:
tar tvf MainFile.tgz | grep abc