This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Cron to update the IPTables Blocker | |
| # Now works with Raspberry Pi Raspbian Jessy | |
| # Define some defaults | |
| IPTABLES='/sbin/iptables' | |
| BLOCKLIST='/tmp/enatec_blocked.txt' | |
| # Get the latest List |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # script to check for complete torrents in transmission folder, then stop and move them | |
| # either hard-code the MOVEDIR variable here… | |
| MOVEDIR=/home/mjdescy/media # the folder to move completed downloads to | |
| # …or set MOVEDIR using the first command-line argument | |
| # MOVEDIR=%1 | |
| # use transmission-remote to get torrent list from transmission-remote list | |
| # use sed to delete first / last line of output, and remove leading spaces | |
| # use cut to get first field from each line |
NewerOlder