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/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 |