ajkis / scripts

Ajki's scripts & guides
https://ajkis.github.io/scripts/
324 stars 91 forks source link

plexupdatenew.cron: find: invalid argument `-cnewer' to `-cmin' #21

Closed hthighway closed 7 years ago

hthighway commented 7 years ago

From line 38: find "$TVLIBRARY" -mindepth 2 -type d -cmin -cnewer $LASTRUNFILE -exec \ It is returning: find: invalid argument -cnewer' to-cmin'

Additional question for this line: TVLIBRARY="/mnt/cloud/series/" If there is a space in the folder name does the fact that is in quotes take care of that or do I need to add a "\" as in TVLIBRARY="/mnt/cloud/tv\ series/" ?