MySQL Dump Tables with Wildcards

mysql [dbname] -u [username] -p[password] -N -e 'show tables like "prefix\_%"' | xargs mysqldump [dbname] -u [username] -p[password] > [dump_file]