I may be off the mark here, but if it is your intention to gzip OLD (out of date) log files, you could try doing: cd /directory; find ./ -type f -mtime +10 -exec gzip {} \; In the above example +10 = more than 10 days since file last updated/created Tim -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug