Trying to append a file to a tarball through a pipe.
by nrmad from LinuxQuestions.org on (#5FAJZ)
I am trying to execute a simple pipeline which should gunzip a file and send the result to stdout. This is ten piped into a tar command which to my knowledge should append the file I specify. I use a hyphen to denote the stdin decompressed tarball which I am trying to append to.
Code:gunzip -c sandbox.tgz | tar rvf - hongkong.mp4I receive the following response when I execute the command
Code:tar: Options '-Aru' are incompatible with '-f -'Thanks


Code:gunzip -c sandbox.tgz | tar rvf - hongkong.mp4I receive the following response when I execute the command
Code:tar: Options '-Aru' are incompatible with '-f -'Thanks