Skip to content

Changes the extension of some filename to a new one。

License

Notifications You must be signed in to change notification settings

chrunlee/changeext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Changes the extension of some filename to a new one。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published