{"action":"opened","issue":{"url":"https://api.github.com/repos/moinakg/pcompress/issues/41","labels_url":"https://api.github.com/repos/moinakg/pcompress/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/moinakg/pcompress/issues/41/comments","events_url":"https://api.github.com/repos/moinakg/pcompress/issues/41/events","html_url":"https://github.com/moinakg/pcompress/issues/41","id":95899176,"number":41,"title":"Decompress from file to stdout","user":{"login":"v50110","id":1499442,"avatar_url":"https://avatars.githubusercontent.com/u/1499442?v=3","gravatar_id":"","url":"https://api.github.com/users/v50110","html_url":"https://github.com/v50110","followers_url":"https://api.github.com/users/v50110/followers","following_url":"https://api.github.com/users/v50110/following{/other_user}","gists_url":"https://api.github.com/users/v50110/gists{/gist_id}","starred_url":"https://api.github.com/users/v50110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v50110/subscriptions","organizations_url":"https://api.github.com/users/v50110/orgs","repos_url":"https://api.github.com/users/v50110/repos","events_url":"https://api.github.com/users/v50110/events{/privacy}","received_events_url":"https://api.github.com/users/v50110/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-19T08:43:51Z","updated_at":"2015-07-19T08:43:51Z","closed_at":null,"body":"It seems to be pcompress lacks feature like write to stdout when reading from compressed file.\r\nIn my use case I compress raw LVM volume with virtual machine's disk inside as\r\ndd if=/dev/vg/lv bs=1M | pcompress -p -c zlib -l 6 -s 1g -G -D -S BLAKE256 -B 0 -L -P  > file.pz\r\nIt 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:\r\npcompress -d file.pz temp.file.dd\r\ndd if=temp.file.dd of=/dev/vg/lv bs=1M\r\nIt would be great to make it through the pipe like\r\npcompress -d file.pz - | dd of=/dev/vg/lv bs=1M"}}