1

Is there a way to not only find but also delete any .gz files inside a .tar.gz file? I found this link but I wouldn't know how to modify it to make it able to delete found files.

1 Answer 1

2

You cannot update compressed tar-files. So as long as you have a tar.gz file there is no way except unpacking, deleting and then repacking.

You could un-gzip the file though. After that there is a --delete-Flag you can use.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .