QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Unzipping files to another directory |
Ref. No. |
QNX.000010396 |
Category(ies) |
Utilities |
Issue |
How do I unzip a file to a directory other than my current directory using gzip?
|
Solution |
The 'c' flag tells it to decompress to stdout, preserving the original file.
gzip -dc file > /other/directory/newfile |
|