@gauravnumber/move

0.2.1 • Public • Published

move

GitHub file size in bytes GitHub tag (latest SemVer) Twitter Follow

mv command does not support adding index when file exists so I create move.

move didn't have any dependencies.

Install

node install -g @gauravnumber/move

Example

Folder Structure

.
├── 1.txt
├── 2.txt
├── 3.txt
├── 4.txt
├── 5.txt
└── 6.txt

Type below command.

move 1.txt 2.txt

2.txt file already exists. move command append index on the file. After running above command. Folder structure looks like this.

.
├── 2_1.txt
├── 2.txt
├── 3.txt
├── 4.txt
├── 5.txt
└── 6.txt

Readme

Keywords

Package Sidebar

Install

npm i @gauravnumber/move

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

7.36 kB

Total Files

3

Last publish

Collaborators

  • gauravnumber