Skip to content

Instantly share code, notes, and snippets.

@developer1980
developer1980 / subtitles-renamer.sh
Created Nov 14, 2020 — forked from colinux/subtitles-renamer.sh
Rename subtitles files according to tv shows names found in a directory
View subtitles-renamer.sh
#!/bin/bash
# Renames subtitles files according to tv shows names found in a directory
# Acceped syntaxes for season/episode are: 304, s3e04, s03e04, 3x04 (case insensitive)
#
# Usage:
# Put this gist somewhere in your $PATH, like /usr/local/bin/subtitles-renamer
# Chmod +x it
# cd ~/YourHolidaysTvShowsWithSubtitles
# subtitles-renamer
@developer1980
developer1980 / subtitles-renamer.sh
Created Nov 14, 2020 — forked from colinux/subtitles-renamer.sh
Rename subtitles files according to tv shows names found in a directory
View subtitles-renamer.sh
#!/bin/bash
# Renames subtitles files according to tv shows names found in a directory
# Acceped syntaxes for season/episode are: 304, s3e04, s03e04, 3x04 (case insensitive)
#
# Usage:
# Put this gist somewhere in your $PATH, like /usr/local/bin/subtitles-renamer
# Chmod +x it
# cd ~/YourHolidaysTvShowsWithSubtitles
# subtitles-renamer