Skip to content

This is a CLI tool which shuffles the files in the directory, their content, but without changing the file names

License

Notifications You must be signed in to change notification settings

xvoland/shuffle-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHUFFLE-FILES

This is a CLI tool which shuffles the files in the directory, their content, but without changing the file names.

NOTE: If the path contains subdirectories, this has no effect on them. Also, the application ignores all files that begin with a dot "."

DOTOCA Ltd.

Install

🍺 Homebrew. Let’s try it!

brew tap xvoland/shuffle-files

brew install shuffle-files

or

brew install xvoland/shuffle-files

🐙 GitHub Releases

Alternatively, binaries are available in the GitHub Releases. Or you can visit the home page



ℹ️ How it use

Path

shuffle-files ./some_path_to_files

Shuffles the files in the specified path ./some_path_to_files For example, the directory contains:

- file1 (content1)
- file2 (content2)
- file3 (content3)

After running the shuffle_file, now has content like this:

- file1 (content2)
- file2 (content1)
- file3 (content3)

-o (output)

shuffle-files ./some_path_to_files -o /output_path

Shuffles the files in the specified path ./some_path_to_files and copy output result to /output_path

--debug

shuffle-files ./some_path_to_files --debug

Shuffles the files in the specified path ./some_path_to_files and display the result of the program on the screen

--test

shuffle-files ./some_path_to_files --test

Shuffles the files in the specified path ./some_path_to_files and do nothing with the files

Combination of flags

shuffle-files ./some_path_to_files --test --debug

You have the ability to combine keys. For example, shuffles the files in the specified path ./some_path_to_files and do nothing with the files, and display the result of the program on the screen

--help

shuffle-files --help

Show help on the screen

--version

shuffle-files --version

Show program version



⚠️ Donation

No matter if I get the money or not, I'm gonna keep making the app better 'cause I love seeing folks use it and reach their goals.
And you know what? Every $1 really makes a difference for folks like me.
It helps cover stuff like domain hosting and the hours I put into coding, which would be super awesome and free up some more family time. Thanks a bunch!

Donate here for my projects

Click here to lend your support to my projects and make a donation!



☎️ Connect with me:

Social

xVoLAnD xvoland | Instagram Vitalii Tereshchuk | YouTube



⛔ License

© 2023, Vitalii Tereshchuk via Apache2.0 license.