1.0.1 • Published 9 years ago
clean-filename v1.0.1
CleanFileName
This is a node.js command line utility that cleanup filenames with url encode characters.
Installation
$ npm install -g clean-filename
Usage
without option:
$ clean-filename
prompt: filename:
use option --clipboard
or -c
to use clipboard content
$ clean-filename -c
The output will be display in the console and also add to the clipboard
use option --filename
to rename with filesystem
$ clean-filename -f <filename>
The output will be display in the console and also rename in the filesystem
Development
First clone repository and access the new folder
$ git clone <repository>
$ cd <folder>
then install necessary modules
$ npm install
and just run with the name to clean in argument
$ ./index.js <filename>
Run the test with
$ gulp test