https://github.com/chillsmeit/rarbg_automkvmerger
Bash script to automatically merge .mp4 with english .srt files and clean the folder names en masse for rarbg movies
https://github.com/chillsmeit/rarbg_automkvmerger
automated bash bash-script clean en-masse english english-srt englishsrt enmasse merge-mp4-srt mergemp4srt mkv mkvmerge rarbg
Last synced: 6 months ago
JSON representation
Bash script to automatically merge .mp4 with english .srt files and clean the folder names en masse for rarbg movies
- Host: GitHub
- URL: https://github.com/chillsmeit/rarbg_automkvmerger
- Owner: Chillsmeit
- Created: 2023-06-29T00:01:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T17:00:28.000Z (over 1 year ago)
- Last Synced: 2025-04-14T21:12:22.912Z (6 months ago)
- Topics: automated, bash, bash-script, clean, en-masse, english, english-srt, englishsrt, enmasse, merge-mp4-srt, mergemp4srt, mkv, mkvmerge, rarbg
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
This bash script allows you to automatically merge .mp4 files with english .srt subtitles into a .mkv file.
It will ignore any other subtitle languages and will ignore .srt subtitles with less than 30Kb *(usually broken subs)*.
After it creates the .mkv file, it will rename the movie folder *(not the .mkv file itself)* and remove any release group names, codecs, resolutions etc in order to create a clean folder name.
**This process will happen to all folders that are in the same directory as the script itself, one by one.****It was mainly made for the rarbg movies file structure**
## Dependencies:
```
sudo apt-get update && sudo apt-get install mkvtoolnix
```## Instructions:
Make sure you run this script in the same directory where you have your rarbg movie folders and just wait for those 200 movies to be auto muxed into mkv files.
Download the script in terminal with:
```
wget https://raw.githubusercontent.com/Chillsmeit/rarbg-mkvmerger/main/rarbg_automkvmerger.sh
```
Make the script executable:
```
chmod +x rarbg_automkvmerger.sh
```
Run the script **without** sudo privileges:
```
./rarbg_automkvmerger.sh
```