diff options
-rwxr-xr-x | publish | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -170,17 +170,18 @@ while [ "$#" -gt 0 ]; do shift uri="$base_http/$d_server_http_base/$( echo -n "`basename $file`" | uri_encode )" - echo "$uri" - history_append "$uri" trail="" if [ "$only_one" = 1 ]; then if [ -d "$file" ]; then trail="/" + uri="$base_http/$d_server_http_base/" fi echo -n "$uri" | xclip fi + echo "$uri" + history_append "$uri" $NODO rsync $rsync_args "$file$trail" $base_rsync"/$d_server/" done |