[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Joining Large Files



Elizabeth Barham <soggytrousers@yahoo.com> [2002-09-08 01:47:11 -0500]:
> Would catting it into gzip be okay? As in:
> 
> cat largeFile.* | gzip -c - > x.gz

Yes.  I assume you mean on a small file only system?  Both cat and
gzip (gzip > 1.3) know about large files.  So this should be good up
until the gzip x.gz output exceeded 2GB.  And generally pipes are less
prone to problems with large files.  (If you looked at the APIs for
lseek() and friends it would make sense.)

Bob

Attachment: pgp3qrZV7WuwW.pgp
Description: PGP signature


Reply to: