Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 776 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 776 Bytes

python-file-shuffle

Shuffle files' name with Python

Setup

pip3 install git+https://github.com/yjg30737/python-file-shuffle.git

Example

from python_file_shuffle import shuffle_file

shuffle_file('src', 'dst')
# src is directory that contains files to shuffle
# dst is directory that shuffled files are supposed to be. The fact that it exists or not doesn't matter.

Result

Original files

image

New files

image

You can clearly see that files' name were modified.

By the way, original files are remained in src directory also.