4

Сохранить все *.xml вместе с деревом каталогов в архиве.

$ find ./dir -name "*.xml" -print | zip archive -@
-----------