Para excluir arquivos com padrões contendo caracteres anteriores e à direita:
tar -cvf backup.tar --exclude="*.log" --exclude="cache*" public_heml/
Zany Zebra
tar -cvf backup.tar --exclude="*.log" --exclude="cache*" public_heml/