Convert a string to a valid safe filename on the command-line
Install
$ npm install --global filenamify-cli
Usage
$ filenamify --help
Usage
$ filenamify <text>
Options
--replacement Replacement for reserved filename characters [Default: !]
Example
$ filenamify 'foo/bar' --replacement=π¦
fooπ¦bar
Related
- filenamify - API for this module
License
MIT Β© Sindre Sorhus