https://github.com/bridgeconn/folder-merge
Folder Merge
https://github.com/bridgeconn/folder-merge
Last synced: 4 months ago
JSON representation
Folder Merge
- Host: GitHub
- URL: https://github.com/bridgeconn/folder-merge
- Owner: Bridgeconn
- Created: 2024-06-28T11:55:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T03:42:39.000Z (8 months ago)
- Last Synced: 2025-01-29T19:16:06.520Z (5 months ago)
- Language: Python
- Size: 150 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
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.