How to create 'tar' archives of a bunch of files whose names fit a pattern and keep the directory structure

Saving CSV and similar data files of a parameter study on a Linux machine:

$ tar -czf archive.tgz pattern/for/the/path*/some*fileName0*pattern.extension

This simple command saves all files whose names match some*fileName0*pattern.extension and keeps their directory structure from the top directory where archive.tgz is created.

See also