Skip to content

Instantly share code, notes, and snippets.

@mytharcher
Created November 28, 2012 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mytharcher/4158159 to your computer and use it in GitHub Desktop.
Save mytharcher/4158159 to your computer and use it in GitHub Desktop.
Common shells
#!/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