Skip to content

Instantly share code, notes, and snippets.

@JudsonHat
JudsonHat / RenameToNzbName.sh
Last active November 7, 2023 13:23
nzbget script to rename file to the nzb name
#!/bin/bash
#######################################
### NZBGET POST-PROCESSING SCRIPT ###
#
# This script will rename the file to
# the nzb name.
#
@JudsonHat
JudsonHat / remove_abandoned_subtitles.sh
Last active March 25, 2016 15:30
Script to find subtitles that do not have a matching video file, then delete it
#!/bin/bash
# Usage
# /bin/bash ./remove_abandoned_subtitles.sh /path/to/media
if [ -z "${BASH_VERSINFO}" ]; then
echo "ERROR: You must execute this script with BASH"
exit
fi