DEV Community

Discussion on: Automate file renaming with Node.js scripts

Collapse
 
moopet profile image
Ben Sinclair

I'm not a node person - why would you need to regularly rename files like that? Enough to put it in a script? Is there something like packages that have the "wrong" names in npm that you're trying to fix?

Collapse
 
emma profile image
Emma Goto 🍙

So this was more of an example, but for me personally, I write my posts in Ulysses, and I've written scripts to convert it to the MDX format I need to publish my posts. In the process I need to do some file renaming and moving as well.