⬅︎ Back to How I do deployments
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.)
Thanks!
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.)
Replies
Thanks!