Skip to content

Instantly share code, notes, and snippets.

View 007revad's full-sized avatar

Dave Russell 007revad

  • Australia
  • 07:10 (UTC +10:00)
View GitHub Profile
@007revad
007revad / subs_tv.sh
Last active November 26, 2022 01:46
Rename subs in season downloads and move up to the season's mkv/mp4 folder
#!/usr/bin/env bash
#--------------------------------------------------------------------------------------------
# Rename English subtitles in TV season's Subs folder and move up to season's mkv/mp4 folder
#
# Author: 007revad
# Gist on Github: https://gist.github.com/007revad
# Script verified at https://www.shellcheck.net/
#--------------------------------------------------------------------------------------------
if [[ -n $1 ]] && [[ -d $1 ]]; then