uncompress

Hi All,
is it possible to uncompress on another directory ? At the moment I have my file to uncompress on /u07 that has 5GB free. When uncompressed it would be more then 6G , I want to send uncompressed file on another directory where I have more free space. is it possible ? How ?
Many thanks before.

As of I know its not possible to uncompress a file in another directory.
File would be uncompressed to the current directory from which it is run.

Better option would be to move the uncompressed file into the mount(directory) where enough space is available and then to proceed with uncompressing.

There could be other good solutions too !!! ...

uncompress -c /u07/file.Z > /new/path/file

thats a good one ! :slight_smile: :slight_smile: :slight_smile:

another alternative is,
using zcat equivalent to uncompress -c