Skip to content

Instantly share code, notes, and snippets.

@bradymholt
Created November 10, 2014 02:05
Show Gist options
  • Save bradymholt/d63e5212b4ae076d842d to your computer and use it in GitHub Desktop.
Save bradymholt/d63e5212b4ae076d842d to your computer and use it in GitHub Desktop.
TV downloads
#!/usr/bin/bash
DOWNLOAD_DIR=/home/bholt/downloads
TARGET_DIR=/home/bholt/tv
cd ${DOWNLOAD_DIR}
mv So.You.Think* ${TARGET_DIR}/So\ You\ Think\ You\ Can\ Dance
mv MythBusters* ${TARGET_DIR}/MythBusters
#!/bin/bash
/usr/bin/flexget --cron
/usr/bin/transmission-remote -l | grep 100\% | grep Stopped | awk '$1 { gsub("*",""); print $1 } ' | xargs -n 1 -I \% /usr/bin/transmission-remote -t\% -r
/usr/bin/transmission-remote --torrent all --start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment