Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bridgeconn/folder-merge
Folder Merge
https://github.com/bridgeconn/folder-merge
Last synced: about 2 months ago
JSON representation
Folder Merge
- Host: GitHub
- URL: https://github.com/bridgeconn/folder-merge
- Owner: Bridgeconn
- Created: 2024-06-28T11:55:05.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T14:19:24.000Z (3 months ago)
- Last Synced: 2024-11-06T15:28:13.488Z (3 months ago)
- Language: Python
- Size: 58.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Folder-Merge
This script is structured to organize and merge directories with common prefixes, while handling duplicate chapters.
## Features- Scans the base directory to find unique three-character prefixes of subdirectories.
- Finds directories with given prefixes.
- Checks for duplicate chapters across directories with the same prefix.
- Copies files from source directories to a target destination.
- Counts and reports the number of chapters and files.
## Requirements- Python 3.x
## Setup1. Clone this repo, https://github.com/Bridgeconn/Folder-Merge.git
2. Ensure you have Python installed on your system.
3. Place the script in a directory of your choice.
4. Update the base_dir to point to the directory containing the language folders
eg. 'base_dir = '/home/Desktop/Export''
5. Run the script using the command:
python script_name.py
eg.python merge_folder.py6. Output will be saved in the output directory.