Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rename-files-cli

billyct141.0.1

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

rename, rename-files, rename-files-cli

readme

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"]

License

MIT © billyct