Hi Phil,
To avoid 'gzipping' the files already zipped, you may use:
gzip `ls -t !(*.gz)| tail +2`
meaning "list all files not ending in .gz"
This works in Posix and Korn shell
Best regards,
Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com