I have a 1.5TB size text file that I need to gzip down, the current drive it is on has little to no space left. I have another drive with 400G left on it. My question is, if I gzip the file, will it require more space on the drive that it resides? Or can I direct the output to the drive with available space?

link|improve this question

feedback

1 Answer

up vote 5 down vote accepted

Try something like:

gzip --stdout textfile > /path/to/spacious/filesystem/textfile.gz
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.