aboutsummaryrefslogtreecommitdiff
path: root/blogsend
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-08 21:56:18 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-08 21:56:18 +0200
commit0f415a8f3521504b26feba9ddafa6f2264e3f2f1 (patch)
treea31902755243620e7b0b01742f4b42901679f29e /blogsend
parenta8d4f76ffeb6a39d6503eeb5594ece773a7d0512 (diff)
downloadblog-0f415a8f3521504b26feba9ddafa6f2264e3f2f1.tar.gz
blog-0f415a8f3521504b26feba9ddafa6f2264e3f2f1.tar.bz2
blog-0f415a8f3521504b26feba9ddafa6f2264e3f2f1.zip
update
Diffstat (limited to 'blogsend')
-rwxr-xr-xblogsend4
1 files changed, 2 insertions, 2 deletions
diff --git a/blogsend b/blogsend
index 572e60f..18b10a5 100755
--- a/blogsend
+++ b/blogsend
@@ -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";