summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
Diffstat (limited to 'publish')
-rwxr-xr-xpublish4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish b/publish
index 2bdec5b..f5b7ddb 100755
--- a/publish
+++ b/publish
@@ -51,6 +51,7 @@ history_file=~/.publish.history
history_lines=1000
date_format='%Y-%m-%d-'
+rsync_args="--compress --times"
rsync_pre_invoke() { true ;}
rsync_post_invoke() { true ;}
@@ -197,7 +198,6 @@ fi
d_date=$(date +"$date_format")
d_random=$(get_random)
d_server="$d_date$d_random"
-rsync_args="--partial --recursive --compress --times"
d_server_http_base=$( echo -n "$d_server" | uri_encode )
base_uri="$base_http/$d_server_http_base/"
@@ -252,7 +252,7 @@ while [ "$#" -gt 0 ]; do
history_append "$uri"
rsync_pre_invoke
- $NODO rsync $rsync_args "$file$trail" $base_rsync"/$d_server/"
+ $NODO rsync --recursive $rsync_args "$file$trail" $base_rsync"/$d_server/"
rsync_post_invoke
done