mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
remove sample files
This commit is contained in:
parent
2d513d6390
commit
5626042749
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ nzbToMedia() {
|
||||||
PostProcessStatus=0
|
PostProcessStatus=0
|
||||||
if [ -n "$1" ]; then PostProcessStatus=$1 ; fi
|
if [ -n "$1" ]; then PostProcessStatus=$1 ; fi
|
||||||
if [ "$Debug" = "yes" ]; then echo "[DETAIL] Post-Process: comparing '$NZBPP_CATEGORY' to '$CouchPotatoCategory' and '$SickBeardCategory'" ; 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 [ "$NZBPP_CATEGORY" = "$CouchPotatoCategory" ]; then
|
||||||
if [ "$CouchPotato" = "yes" -a -e "$NzbToCouchPotato" ]; then
|
if [ "$CouchPotato" = "yes" -a -e "$NzbToCouchPotato" ]; then
|
||||||
script=$NzbToCouchPotato
|
script=$NzbToCouchPotato
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue