1.0.8 • Published 3 years ago

renamefilenames v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

description

  • rename files names in current directory
  • support regular expression

install

npm install renamefilenames -g

two usages

  • change some-before.txt to some-after.txt

Passing parameters through the command line

renamefile  "before" "after"
  • change some-before.txt to some-.txt
renamefile  "before"
  • change some-aaa-bbb-ext.txt to some.txt
renamefile  "/-(.+?)-(.+?)-ext/"

Passing parameters through configuration files

  1. Add a replace.json file in current directory
{
  "before": "after"
}

2.Then execute command in current directory

renamefile;
1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago