Import gzipped sql via Drush

Public

Locate your project folder via command line and type:

</> CopyGet raw version
bash
  1. gunzip -c myfile.sql.gz | drush sqlc

Comments

Feijó's picture

or, shortened:
gunzip myfile.sql.gz | drush sqlc

Fidelix's picture

Thanks, Feijó.
I edited the snippet.