#!/bin/bash

#--config=/opt/appdata/rclone/rclone.conf \

rclone mount gdrive: /mnt/cache/Cloud/gdrive \
--log-file=/mnt/user/logs/rclone/rclone-gdrive.log \
--log-level=NOTICE \
--uid=1000 --gid=1000 --umask=002 \
--allow-other \
--timeout=1h \
--tpslimit=10 \
--user-agent=rclone/v1.48 \
--dir-cache-time=5m \
--vfs-cache-mode=writes \
--vfs-cache-max-age=1h \
--vfs-cache-max-size=off \
--vfs-read-chunk-size-limit=1024M \
--vfs-read-chunk-size=64M \
--buffer-size=16M

rclone mount tdrive: /mnt/cache/Cloud/tdrive \
--log-file=/mnt/user/logs/rclone/rclone-tdrive.log \
--log-level=NOTICE \
--uid=1000 --gid=1000 --umask=002 \
--allow-other \
--timeout=1h \
--tpslimit=10 \
--user-agent=rclone/v1.48 \
--dir-cache-time=5m \
--vfs-cache-mode=writes \
--vfs-cache-max-age=1h \
--vfs-cache-max-size=off \
--vfs-read-chunk-size-limit=1024M \
--vfs-read-chunk-size=64M \
--buffer-size=16M