"gzip *" will do what you want.

When it encounters something that's already gzip'd, it will skip it,
but will emit a warning that it's doing so.

Otherwise, you could use something like:

find -X . \! -name "*.tar.gz" -type f -maxdepth 1 | xargs gzip

i don't understand the difference.

.tar.gz files are already gzip'd :), so no need for second case. it will be skipped anyway
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to