Skip to content

Instantly share code, notes, and snippets.

@twentyfortysix
Created November 4, 2021 11:52
Show Gist options
  • Save twentyfortysix/6794d85560582c4d7ab4840b176354cf to your computer and use it in GitHub Desktop.
Save twentyfortysix/6794d85560582c4d7ab4840b176354cf to your computer and use it in GitHub Desktop.
wp db drop --yes && wp db import $(find db_backup/* -printf '%T+ %p\n' | sort -r | head -n 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment