[plug] appending files

garry garbuck at tpg.com.au
Sun Sep 22 00:47:37 WST 2002


The original files stay put with this one, it just makes a new file of all 
the .log.gz files into a new bigger gzip file..

Regards

Garry

> >So - you can go ;
> >$ cat *.log.gz > biglog.gz
> >
> >...rather than ;
> >$ gunzip *.log.gz
> >$ cat *.log | gzip > biglog.gz
>
> Excuse my ignorance on this one - but wouldn't it be better to use '>>'
> instead of '>' to cat the two files together, I have the impression that
> using '>' will overwrite the target and cause a subsequent loss of its
> contents.



More information about the plug mailing list