I would like to add a file to a compressed (gzip) tarfile. Normally it won't be a Problem, if I would do it in several steps. But I do not want to have unnecessary files.
So, in words:
unzip the tarfile
add a new file
zip the tarfile
What I tried:
gzip -d < tt1.tar.gz | tar -r tt1.readme | gzip - > tt1.tar.gz
tar: /dev/rmt0: No such file or Directory
Thanks to all. Thats what I needed. What I did not know, was the fact, that the files do not Need more space as I have before - because they are already there...