Originally Posted by norobro
From the cat man page:
Remove the "-" and it should work.
# cat backup.tar.gz.* | tar xzvPf -
Your cat command is waiting for input from the keyboard (stdin).
Hi, norobro, I've tryed the xzvP parameters and tar hangs as well.
The solution I found was adding nohup to the beginning of the command, as in:
# nohup cat test.tar.gz.a* - | tar xzvP
And I got away with a warning:
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Saída por erro atrasada pelos erros anteriores
(translating last line from portuguese)
tar: Error exit delayed by previous errors
Thank you for your help.