-
-
Save exit99/7ca72872bc13497aa485 to your computer and use it in GitHub Desktop.
Bash cmd for upgrading all python files recursively to python3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -exec ls -dl \{\} \; | grep ".*\.py" | awk '{print $9}' | xargs 2to3 -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment