Created
December 5, 2015 14:59
-
-
Save azanebrain/e34197af29d0fc947171 to your computer and use it in GitHub Desktop.
Bulk change the file extension of all files in a directory
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
for old in path/to/files/*.txt; do mv $old path/to/files/`basename $old .text`.md; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment