Re: how to dd if=... a chunked dump blob?
2005-12-06 17:29:29
Alexander Jolk wrote:
Will Partain wrote:
dd if=foo.verilab.com._.1 bs=32k skip=1 | tar tfv - | sort +2nr | head
[...]
What if, instead, my dump blob is "chunked", as in this case (1GB
chunks):
Well, you either do some shell magic:
for i in foo.verilab.com._.1*; do dd if=$i bs=32k skip=1; done | tar tvf
- | ...
It will not work if you have more than 10 chunk files because the '*'
wildcard will not list them in the correct order. You will have to list
them manually.
Jean-Louis
or you use amrestore on the holding file.
Alex
|
|
|