Created
January 28, 2015 12:36
-
-
Save krishnakummar/6715f5786c6dc94b9847 to your computer and use it in GitHub Desktop.
Mysql Query Export
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
mysql --user=wibble --password wobble -B -e "select * from vehicle_categories;" | sed "s/'/\'/;s/\t/\",\"/g;s/^/\"/;s/$/\"/;s/\n//g" > vehicle_categories.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment