Skip to content

Instantly share code, notes, and snippets.

@tomwojcik
Created July 11, 2020 18:55
Show Gist options
  • Save tomwojcik/879a71d0080a9344de23616241f251c4 to your computer and use it in GitHub Desktop.
Save tomwojcik/879a71d0080a9344de23616241f251c4 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
find . -path "*/*.sqlite3" -delete
echo "Finished."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment