Created
July 2, 2015 12:14
-
-
Save sobi3ch/8c74fe7531000e4b4d9c to your computer and use it in GitHub Desktop.
Drush import .sql.gz with progress bar
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
# Make sure you have pv and zcat already installed | |
pv my_database.sql.gz | zcat | drush sqlc | |
# Example output: | |
# 433kB 0:00:00 [ 658kB/s] [============================================================================================>] 100% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested on Ubuntu