Skip to content

Instantly share code, notes, and snippets.

Created September 27, 2016 15:18
What would you like to do?
Clean up composer vendors directory
find . -type f -name composer.json -maxdepth 4 -exec dirname {} \; | \
xargs -I{} find {} -type d -name vendor -maxdepth 1 | \
xargs rm -Rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment