"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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to