Created
November 28, 2012 00:26
-
-
Save mytharcher/4158159 to your computer and use it in GitHub Desktop.
Common shells
This file contains hidden or 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
#!/bin/bash | |
#Change all txt file from Windows form to Max form. | |
for post in $(find . -type f) | |
do | |
# echo $post | |
cat $post > temp.md | |
mv -f ./temp.md $post | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment