Skip to content

Instantly share code, notes, and snippets.

@ccamara
Last active December 26, 2015 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccamara/7086893 to your computer and use it in GitHub Desktop.
Save ccamara/7086893 to your computer and use it in GitHub Desktop.
#drush commands for files and databases #syncronization
# Creates a copy of current database, deletes it and syncs it with dev
drush ard && drush sql-drop && drush sql-sync @site.dev @site.local
# Sync files
drush rsync @site.dev:%files @site.local:%files
@ccamara
Copy link
Author

ccamara commented Oct 21, 2013

Thanks to Miguel Ordoñez. All credits go to him

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment