From 562604274983253761cbf0cb95e33c00fd6ec22f Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sat, 16 Feb 2013 15:07:55 -0800 Subject: [PATCH] remove sample files --- nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh index 98bb16ed..afe8fd8b 100755 --- a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh @@ -102,6 +102,7 @@ nzbToMedia() { PostProcessStatus=0 if [ -n "$1" ]; then PostProcessStatus=$1 ; fi if [ "$Debug" = "yes" ]; then echo "[DETAIL] Post-Process: comparing '$NZBPP_CATEGORY' to '$CouchPotatoCategory' and '$SickBeardCategory'" ; fi + find "$NZBPP_DIRECTORY" -type f -size -200000k -iname \*sample\* -exec rm {} \; >/dev/null 2>&1 if [ "$NZBPP_CATEGORY" = "$CouchPotatoCategory" ]; then if [ "$CouchPotato" = "yes" -a -e "$NzbToCouchPotato" ]; then script=$NzbToCouchPotato