Rclone

Install Rclone

1
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
2
unzip rclone-current-linux-amd64.zip
3
cd rclone-*-linux-amd64
4
cp rclone ~/.local/bin/
5
chmod 755 ~/.local/bin/rclone

Use Rclone to sync the data

1
rclone mount name:path path \
2
--daemon \
3
--vfs-cache-mode full \
4
--vfs-cache-max-size 20G \
5
--vfs-cache-max-age 24h \
6
--cache-dir /path/rclone_cache \
7
--no-modtime \
8
--transfers 4 \
9
--buffer-size 16M \
10
--attr-timeout 5m \
11
--dir-cache-time 1h \
12
--log-file /path/rclone_mount.log \
13
--log-level DEBUG

Unmount the mount point

1
fusermount -u path

Check size of the mount point

1
rclone ncdu path