Created
February 27, 2019 01:57
-
-
Save ghandic/cb00d6464ef403a1c72b52cfec51e4b5 to your computer and use it in GitHub Desktop.
Recursive rename of file extension
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 . -regex '.*.py' -type f | sed "s/\.py$//" | xargs -I% mv -iv %.py %.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment