⬅︎ Back to How I do deployments
Thanks!
In the spirit of KISSing, you can change "find . | grep '\.pyc$' | xargs rm -f" to "find . -type f -name '*.pyc' -delete" unless you are running a really old distribution. (BSD find on OS X and GNU find on Linux have supported this for years.)
Comment
Thanks!
Parent comment
In the spirit of KISSing, you can change "find . | grep '\.pyc$' | xargs rm -f" to "find . -type f -name '*.pyc' -delete" unless you are running a really old distribution. (BSD find on OS X and GNU find on Linux have supported this for years.)