Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Ethorbit/16b59e3ded0d190c7a424acede68073a to your computer and use it in GitHub Desktop.
Save Ethorbit/16b59e3ded0d190c7a424acede68073a to your computer and use it in GitHub Desktop.
rename all .txt files to .md. Useful for copying files to the Obsidian note app
find . -iname "*.txt" -exec bash -c 'mv "$0" "${0%\.txt}.md"' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment