1.0.1 • Published 8 years ago

rename-files-cli v1.0.1

Weekly downloads
15
License
-
Repository
github
Last release
8 years ago

rename-files-cli

Build Status rename files with pattern like String.replace(pattern, replace)

Install

$ npm install --global rename-files-cli

Usage

$ rename-files --help

  Usage
	$ rename-files <pattern> <replace>

  Options
	--path=<path>  the path has files that should rename

Example

  $ ls
  ├── 1.jpg
  └── 2.png
  $ rename-files (\\w+).(jpg|png) \$1_001.\$2 --path=./
  ["1_001.jpg", "2_001.jpg"]

Related

License

MIT © billyct