22 Jan
2002
22 Jan
'02
10:18
On Tuesday 22 January 2002 11.13, Oliver Ob wrote:
I am copying an image with
dd if=/dev/hdc1 of=/image
of=/image will put the output data in the file "/image". Use standard output if you want to pipe it through to other tasks.
Now, I would like to pipe this in order to get this image tgz'ed in ONE task.
appending | tar -cz
Don't use - with parameters to gnu tar. It is deprecated and may disappear in future versions, breaking all your scripts.
does not work. Any help out there? thanks!
dd if=/dev/hdc1 | tar czf out.tgz - should work regards Anders