# p7zip redirect output

**URL:** <https://community.unix.com/t/p7zip-redirect-output/262677>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [March 28, 2010, 8:27am UTC](https://community.unix.com/t/p7zip-redirect-output/262677 "2010-03-28T08:27:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_bouk](https://community.unix.com/letter_avatar/the_bouk/32/5_5575768a8748004e209b776fc1b2916d.png) [@the\_bouk](https://community.unix.com/u/the_bouk)\
**Post date:** [March 28, 2010, 8:27am UTC](https://community.unix.com/t/p7zip-redirect-output/262677/1 "2010-03-28T08:27:24Z")

</div>

Hi evreybody

In my program i work with file compressed with 7zip  
I need to decompress these file  
I've red the man page of p7zip which is very short (maybe too short)

Is there another program to work whit 7zip files

I need options like  
redirect output (p7zip decompress file in the current directory)  
maybe there is a way to work with 7zip file with the zip program (which has a lot of usefull options)

Thanks in advance

Xavier

---

<div class="post-metadata">

**Author:** ![zaxxon](https://community.unix.com/user_avatar/community.unix.com/zaxxon/32/660_2.png) [@zaxxon](https://community.unix.com/u/zaxxon)\
**Post date:** [March 29, 2010, 3:02am UTC](https://community.unix.com/t/p7zip-redirect-output/262677/2 "2010-03-29T03:02:48Z")

</div>

Not sure but you could try gzip or pax. pax has a -s flag to substitute paths so you could just exchange the original path vs the new path. But not sure if those formats are compatible.
