Last active
September 3, 2019 14:55
-
-
Save jonatanrdsantos/36f90ff3b616e0ae35064f1acd342076 to your computer and use it in GitHub Desktop.
Generate a csv from SQL query
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
sudo mysql -uroot -proot database_prod -e "select sku from catalog_product_entity;" | tr '\t' ',' > skus.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment