changeext

1.2.0 • Public • Published

Changes the extension of some filename to a new one。

Installation

Install it as a command line tool via npm -g.

npm install changeext -g

Execution

$ changeext --help     // print help information
$ changeext txt js     // change 'txt' to 'js' 
$ changeext -i js -t txt // change 'js' to 'txt'
// or with directory
$ changeext -d /home/test/ -i js -t txt
// or loop for directory
$ changeext -d /home/test/ -i js -t txt -l
$ changeext txt js -r // change file extension with random name
$ changeext txt js -e // encode the file or decode,decode info is fixed with 0xff

License

The MIT license.

Readme

Keywords

Package Sidebar

Install

npm i changeext

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

6.82 kB

Total Files

4

Last publish

Collaborators

  • chrunlee