> Can I just compress the existing logs that are over 100M for
now?
> Any
> script suggestions for that?
I put together a simple bash script to find and zip big files
Run with no args for help, you can use it eg. like this
$ sh storelarge.sh /path/to/log/dir/ /where/store/ 100000
Modified it to pack them where they are (removing the original)
$ sh compresslarge /path/to/log/dir/ 100000
will search for all files bigger than 100000KB and bzip2 them
Vita