Skip to content

Instantly share code, notes, and snippets.

echo "Deleteing these files:"
for file in "*extra*.txt" "*.nfo" "*sample*" "*rarbg*.txt" "rarbg*.mp4" "WWW.YIFY-TORRENTS.COM.jpg" "*torrenting*.txt" "*.sfv" "*screen*.png" "SCREENS " "*cover.jpg" "info.txt" "Code.txt" "Torrent*downloaded*.txt" "Torrent*seeded*.txt" "ETRG.mp4" "To*keep*us*going*please*read.txt" "Seeded*By*.txt" "WWW.YTS.AG.jpg" "www.HDSector.com.txt" "*iExTV*.txt" "*iExTV*.jpg" "*ETTV*.txt"
do
#echo "Searching for $file"
find /media/media1/Unsorted-Downloads -iname $file -print
find /media/media1/Unsorted-Downloads -iname $file -delete
done
/usr/local/bin/tvnamer -br /media/media1/Unsorted-Downloads
#echo "Running forced-move on the following files"