1.0.2 • Published 2 years ago

change-file-name v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

change-file-name

This is a tool to modify the file name or extension.

Installation method

  • use by npm
npm install change-file-name -g
  • use by yarn
yarn add change-file-name -g
  • use by pnpm
pnpm install change-file-name -g

options description

optionaliasdescription
--name-nfile or directory name
--extension-efile's extension name

How to use it.

eg1: modify a file name.

rn -n ./test.txt abc

test.txt will be renamed abc.txt in the current directory.

eg2: modify the extension

rn -e ./test.txt js

test.txt will be renamed test.js in the current directory.

eg3: modify a directory name

rn -n ./test/ abc

./test/ will be renamed ./abc/ in the current directory.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago