Skip to content

Instantly share code, notes, and snippets.

@baroumas
baroumas / radarr_cleanup_packed_torrent.sh
Last active September 6, 2022 19:36 — forked from fryfrog/radarr_cleanup_packed_torrent.sh
A Radarr post processing script to remove the video file from packed torrents from fryfrog/d1f38b805a270a92bff085536dcfd7e2
#!/bin/bash
# Examples for testing
# radarr_moviefile_sourcefolder="/data/torrent/movies/Justice.League.2017.1080p.HDRip.X264.AAC-m2g" radarr_moviefile_sourcepath="/data/torrent/movies/Justice.League.2017.1080p.HDRip.X264.AAC-m2g/Justice.League.2017.1080p.HDRip.X264.AAC-m2g.mkv"
# Instructions
# Put this script somewhere on your file system like /usr/local/bin and make it executable.
#
# In Radarr, Settings -> Connect add a Custom Script
# On Grab: No