Skip to content

Instantly share code, notes, and snippets.

@jimthoburn
Created August 30, 2018 01:47
Show Gist options
  • Save jimthoburn/30cc00cdd13f3b2de01694d6754f1906 to your computer and use it in GitHub Desktop.
Save jimthoburn/30cc00cdd13f3b2de01694d6754f1906 to your computer and use it in GitHub Desktop.
Rename multiple files from “.md” to “.markdown”
for file in *.md
do
mv "$file" "${file%.md}.markdown"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment