Created
April 30, 2015 23:43
-
-
Save lucascaton/064476a76d8aadb69b04 to your computer and use it in GitHub Desktop.
Text Expander - MySQL snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Text Expander - MySQL snippets --> | |
<dict> | |
<key>abbreviation</key> | |
<string>;mysqld</string> | |
<key>label</key> | |
<string>MySQL dump</string> | |
<key>plainText</key> | |
<string>mysqldump %fillpart:name=remote host%-h server.com %fillpartend%-u %filltext:name=username:default=root% -p %filltext:name=database name:default=_development% > %filltext:name=file name:default=dump.sql%</string> | |
</dict> | |
<dict> | |
<key>abbreviation</key> | |
<string>;mysqlr</string> | |
<key>label</key> | |
<string>MySQL restore</string> | |
<key>plainText</key> | |
<string>mysql %fillpartend%-u %filltext:name=username:default=root% %filltext:name=database name:default=_development% < %filltext:name=file name:default=dump.sql%</string> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment