aboutsummaryrefslogtreecommitdiff
path: root/blogsend
diff options
context:
space:
mode:
Diffstat (limited to 'blogsend')
-rwxr-xr-xblogsend11
1 files changed, 4 insertions, 7 deletions
diff --git a/blogsend b/blogsend
index 3661d29..04b1e4a 100755
--- a/blogsend
+++ b/blogsend
@@ -5,24 +5,21 @@
# usage : blogsend hours (if not set default is 1 hour)
# example : blogsend 72 sends files modified over the past 3 days
-source ~/.local/bashlib/pb_number
-source ~/.local/bashlib/pb_colour
-
# folders
-rf=mail:/var/www/html/wittamore.com
-mf=~/.local/src/web/wittamore.com
+rf=soc:/srv/http/wittamore.fr
+mf=~/web
cd $mf || exit
# test if $1
if [ -z "$1" ]; then
- printf %b "$(pb_fg 196)no parameter, using 1$(pb_nc)\n"
+ printf %b "no parameter, using 1\n"
hours=1;
else
# test if $1 is a number
if [ "$1" -eq "$1" ] >/dev/null 2>&1; then
hours="$1";
else
- printf %b "$(pb_fg 196)bad parameter, using 1$(pb_nc)\n"
+ printf %b "bad parameter, using 1\n"
hours=1;
fi
fi