pcompress icon indicating copy to clipboard operation
pcompress copied to clipboard

Decompress from file to stdout

Open v50110 opened this issue 9 years ago • 1 comments

It seems to be pcompress lacks feature like write to stdout when reading from compressed file. In my use case I compress raw LVM volume with virtual machine's disk inside as dd if=/dev/vg/lv bs=1M | pcompress -p -c zlib -l 6 -s 1g -G -D -S BLAKE256 -B 0 -L -P > file.pz It work fine, but i have no way to extract volume from file.pz back to /dev/vg/lv without needing to unpack file.pz to other file and write last one by dd separate: pcompress -d file.pz temp.file.dd dd if=temp.file.dd of=/dev/vg/lv bs=1M It would be great to make it through the pipe like pcompress -d file.pz - | dd of=/dev/vg/lv bs=1M

v50110 avatar Jul 19 '15 08:07 v50110

Sorry for the delay in responding. Too many things were happening @ work. The output to file should be supported for non-archive mode. I will add it shortly.

moinakg avatar Oct 08 '15 15:10 moinakg