ol-web / directory-shuffle-cli

Shuffles the selected directory by overwriting and renaming its files. Doesn't shuffle subdirectories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

directory-shuffle-cli

Shuffles the selected directory by overwriting and renaming its files. Doesn't shuffle subdirectories.


Installation and usage:

Install

npm install --save-dev directory-shuffle-cli

List options

directory-shuffle --help

Show an array of files in this directory without shuffling

directory-shuffle -p "."
directory-shuffle -p "dist/img"

Shuffle directory

directory-shuffle -d "."
directory-shuffle -d "dist/img"

Test

npm run test


Is there something wrong?

Please tell me!

About

Shuffles the selected directory by overwriting and renaming its files. Doesn't shuffle subdirectories.

License:MIT License


Languages

Language:JavaScript 98.2%Language:HTML 1.8%