Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/python-file-shuffle
Shuffle files' name with Python
https://github.com/yjg30737/python-file-shuffle
file-shuffle files-shuffle python python-example python-examples python-file python-file-shuffle python-files python-files-shuffle python-shuffle python-tutorial python-tutorials python3 python37
Last synced: 22 days ago
JSON representation
Shuffle files' name with Python
- Host: GitHub
- URL: https://github.com/yjg30737/python-file-shuffle
- Owner: yjg30737
- License: mit
- Created: 2021-12-17T02:11:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-05T00:16:48.000Z (about 3 years ago)
- Last Synced: 2024-12-29T08:42:11.374Z (27 days ago)
- Topics: file-shuffle, files-shuffle, python, python-example, python-examples, python-file, python-file-shuffle, python-files, python-files-shuffle, python-shuffle, python-tutorial, python-tutorials, python3, python37
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-file-shuffle
Shuffle files' name with Python## Setup
```pip3 install git+https://github.com/yjg30737/python-file-shuffle.git```## Example
```python
from python_file_shuffle import shuffle_fileshuffle_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](https://user-images.githubusercontent.com/55078043/146478619-ec8cab0e-32db-498e-96b1-4881cad87d7e.png)
New files
![image](https://user-images.githubusercontent.com/55078043/146478690-93741aba-c794-4315-9a7b-d8acf7c62a3b.png)
You can clearly see that files' name were modified.
By the way, original files are remained in src directory also.