Skip to content

Instantly share code, notes, and snippets.

View n-shay's full-sized avatar

Shay Nissel n-shay

View GitHub Profile
@n-shay
n-shay / transmissionUnRAR.sh
Last active March 26, 2018 19:34
A post processing bash script for Transmission for UnRARing (based on directory name)
#!/bin/bash
# keywords which the torrent path must contain to run the script
DIR_CONTAINS=( )
DIR_CONTAINS+=( "TV" )
DIR_CONTAINS+=( "Movies" )
echo "Checking $TR_TORRENT_DIR/$TR_TORRENT_NAME" >> /var/log/posttorrent.log
# loop through each keyword