Skip to content

Instantly share code, notes, and snippets.

@webjay
Last active December 11, 2015 04:39
Show Gist options
  • Save webjay/4546859 to your computer and use it in GitHub Desktop.
Save webjay/4546859 to your computer and use it in GitHub Desktop.
Delete all sub directories named "migrations". Handy for Django South clearance https://groups.google.com/d/msg/south-users/iIQT8ZWs2cI/GQ4kONoT5Q4J
find * -type d -name migrations -print0 | xargs -0 -I {} rm -rf "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment