Skip to content

alimogh/python-file-shuffle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Shuffle files' name with Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%