1DOLLY 82PACKAGE rclone3REQUIRES HOST runtime@04REQUIRES HOST http@05678FROM /demos/go/Dollyfile-go-build 6d24a0498854a8632555a1492f7ac0bf058aa7c89249ecd22f0386242e80ed929REQUIRES TOOL go10SOURCE /dist/static/rclone/rclone.tar edc7653d9c63d14a09df8438e751ab4b46e61174f353ccfc252bad16d3737b44 /tmp/rclone.tar11SLOP tar -xf /tmp/rclone.tar -C /12SLOP CWD /tmp/rclone GOCACHE=/tmp/go-cache GOFLAGS='-mod=vendor -p=4' go build -trimpath \13 -ldflags '-s -X github.com/rclone/rclone/fs.Version=v1.76.0' -o /usr/bin/rclone ./dolly14FOLDER /usr/share/licenses/rclone15EXPORTS TOOL rclone16SLOP mkdir -p /tmp/check/a && echo checked > /tmp/check/a/file && rclone copy /tmp/check/a /tmp/check/b && \17 test "$(cat /tmp/check/b/file)" = checked && rclone version18FILE /usr/share/man/cat1/rclone.119 rclone: rclone 1.76.0 with its local and WebDAV backends, built inside Dolly20 by the go package. It keeps a folder of the session in step with a folder a21 WebDAV server holds, through the page's HTTP broker; nothing is mounted.22 23 rclone config create host webdav url=http://127.0.0.1:8090/TOKEN vendor=rclone24 mkdir -p /workspace/host25 rclone bisync /workspace/host host: --resync the first time26 rclone bisync /workspace/host host: after changes on either side27 28 Every ten seconds, in the background:29 30 slop -c 'while :; do rclone bisync /workspace/host host: --resilient --recover --max-lock 2m -q; sleep 10; done' &31 32 The server, on the machine whose folder it is, by rclone 1.75 or later, with33 ORIGIN the page's (such as http://localhost:9045) and TOKEN a random word34 only this session knows:35 36 rclone serve webdav ~/dolly-share --addr 127.0.0.1:8090 --baseurl TOKEN \37 --dir-cache-time 0s \38 --response-header 'Access-Control-Allow-Origin: ORIGIN' \39 --response-header 'Access-Control-Allow-Methods: GET, HEAD, PUT, DELETE, PROPFIND, MKCOL, MOVE, COPY' \40 --response-header 'Access-Control-Allow-Headers: Content-Type, Depth, Destination, Overwrite, X-OC-Mtime'41 42 Commands: about, bisync, cat, check, config, copy, copyto, delete,43 deletefile, listremotes, ls, lsd, lsf, lsjson, lsl, mkdir, move, moveto,44 obscure, purge, rcat, rmdir, size, sync, touch, tree, version. A file45 uploads if it is at most 64 MiB. Upstream's documentation:46 https://rclone.org/docs/47