Question about rclone mount command, and automatically mounting at boot (Mac)

I have tried researching the best way to call rclone to mount a Google Drive account as a local drive. I've come up with the following, and I was hoping someone could let me know if there is any opportunity to improve the command:

rclone mount \
--config=/Users/bink/.config/rclone/rclone.conf \
--allow-other \
--rc \
--rc-addr=localhost:5572 \
--fast-list \
--drive-skip-gdocs \
--vfs-read-chunk-size=64M \
--vfs-read-chunk-size-limit=2048M \
--buffer-size=64M \
--max-read-ahead=256M \
--poll-interval=1m \
--dir-cache-time=168h \
--timeout=10m \
--transfers=16 \
--checkers=8 \
--drive-chunk-size=64M \
--fuse-flag=sync_read \
--fuse-flag=auto_cache \
--umask=002 \
--syslog \
-v \
gdrive: ~/mnt/gdrive &

Also, I would love to know how to automount this when the Mac first boots up. As it stands now, I have to enter this manually in a terminal window, and I would love to automate this so it comes up automatically.

What is your rclone version (output from rclone version)

1.48

Which OS you are using and how many bits (eg Windows 7, 64 bit)

macOS 10.14.5

Which cloud storage system are you using? (eg Google Drive)

Google Drive

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.