Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdx #141

Open
bradgarropy opened this issue Aug 31, 2020 · 2 comments
Open

mdx #141

bradgarropy opened this issue Aug 31, 2020 · 2 comments
Assignees

Comments

@bradgarropy
Copy link
Owner

No description provided.

@spences10
Copy link

Quick way to change all the file extensions from .md to .mdx

If you have rename installed (brew install rename or sudo apt install rename if not) then you can rename them with:

# cd to the folder containing the files you want to rename
rename s/md/mdx/ **.md

Maybe just the one * if you're not using Fish shell 👍

@bradgarropy
Copy link
Owner Author

bradgarropy commented Sep 8, 2020

Great tip @spences10!

I'm a Windows user and recently installed microsoft/PowerToys. It includes the PowerRename utility which worked perfectly for this task!

I updated all of the filenames in 6df2c57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants