This project is designed to help manage and organize the downloaded animepahe files. It includes functionalities to gather, rename, and organize anime files into appropriate folders based on their names and formats. The script handles files with specific naming conventions and organizes them into directories to make managing and locating anime episodes easier.
- Gather Anime Files: Moves files that start with "AnimePahe" into a dedicated directory.
- Rename Anime Files: Renames files to a standard format:
EpisodeNumber-AnimeName-Quality.ext
. - Organize Anime Files: Moves files into folders named after the anime.
- Python 3.x
- Standard Python libraries:
os
,shutil
,re
,argparse
-
Clone the repository:
git clone https://github.com/haxsysgit/pahesort.git
-
Navigate into the project directory:
cd pahesort
--path
or-p
: Specify the path where the anime files are located.--all
or-a
: Perform all operations: gather, rename, and organize, Default is the Downloads directory.--rename
or-r
: Only rename the anime files.--organize
or-o
: Only organize the anime files into folders.
- Rename and Organize Files:
python pahesort.py --all /path/to/your/anime/files
- Only Rename Files:
python pahesort.py --rename /path/to/your/anime/files
- Only Organize Files:
python pahesort.py --organize /path/to/your/anime/files
Feel free to contribute by submitting issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.