This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Put inside root of TV series folder. | |
# Run using: | |
# bash fix-rarbg-subtitles-tv-shows.sh | |
seasons=$(find $1 -mindepth 1 -maxdepth 1 -type d) | |
for season in $seasons; do | |
season_subs_folder="${season}/Subs" |