Created
May 9, 2025 09:11
-
-
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
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
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