2 Oct
2006
2 Oct
'06
10:09
On Monday 02 October 2006 11:40, stephan beal wrote:
You can work around the 2GB problem with gzip by compressing as a stream instead of a file.
e.g., instead of:
gzip myBigFile
do:
cat myBigFile | gzip -c > myBigFile.gz rm myBigFile
PS: that also works for scp'ing files on older systems where scp has a 2GB limit: cat myBigFile | ssh me@remotehost 'cat > /path/to/myBigFile' that is functionaly the same as: scp myBigFile me@remote:/path/to/myBigFile but works around the size limitation. Of course, you're still subject to file size limitations on the target filesystem. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts