Posted By

remysharp on 09/16/07


Tagged

mysql textmate dump


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

basicmagic
bartekk
berkes
jfherring


MySQL dump tables like...


 / Published in: Bash
 

  1. mysql $DB -u$USERNAME -p$PASSWORD -e 'show tables like "$LIKE%"' | grep -v Tables_in | xargs mysqldump --add-drop-table $DB -u$USERNAME -p$PASSWORD

Report this snippet  

You need to login to post a comment.