CLI tool to recursively rename files so they conform to filesystem limitations

forest johnson 9414151405 readme 1 year ago
node_modules 97e91c90b4 exfat-renamer 1.0 1 year ago
test 97e91c90b4 exfat-renamer 1.0 1 year ago
ReadMe.md 9414151405 readme 1 year ago
package.json 97e91c90b4 exfat-renamer 1.0 1 year ago
rename.js 97e91c90b4 exfat-renamer 1.0 1 year ago

ReadMe.md

exfat-renamer

This command line tool recursively renames files inside a given directory so that thier names conform to the rules of a given file system. (only exFat is implemented so far.)

This would be useful for Mac users who want to migrate thier files from a Mac file system to a more universally compatible one such as exFat.

I originally developed this tool so that my mother could use the free tool HFSExplorer to transfer files from her old Mac to her new windows box without having to pay for a commercial HFS driver for windows.

This tool is so easy, even my mother can use it! She had never done anything with the terminal before, but was able to figure it out fairly quickly.
It has a terraform-style plan and apply workflow to allow the user to validate actions before they are taken.

It is written in JavaScript and requires nodejs. I believe it was written to target nodejs 0.10.x so it would run on the ancient version of Mac OSX that my mother was running.

To use it:

cd exfat-renamer
npm install

node rename.js test

node rename.js plan /path/to/folder/with/illegal/file/names

node rename.js apply