diff options
-rwxr-xr-x | blogsend | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,11 +22,11 @@ else fi fi -MINUTES=$(($HOURS*60)) +MINUTES=$((HOURS*60)) echo "Sending files modified in the past $HOURS hour(s)..." -files=$(find -- * -iname *.html -path .tmp -prune -o -mmin -$MINUTES -type f) +files=$(find -- * -iname "*.html" -path .tmp -prune -o -mmin -$MINUTES -type f) for file in $files do scp -r "$file" "$rf/$file"; |