Convert the underscores in a file/directory name to dashes or convert the dashes to underscores.
npm install -g dachshund
Installing dachshund
globally adds two commands udash
and dunder
to your PATH.
Convert underscores to dashes:
udash file_name
#=> file_name => file-name
Convert dashes to underscores:
dunder file_name
#=> file-name => file_name