rclone

Table of Contents

Rclone is a command-line program to manage files on cloud storage.

Currently rclone is used to take backup from Google Drive to local computers as explained in GDrive in Linux.

prabu@homepc2 /d/d/p/D/o/q/public> cat ~prabu/scripts/backup_gdrive_rclone
rclone -P sync GDrive: /data/docs/prabu/lGDrive --drive-export-formats ods,odt,odp

On 2024-03-18, rclone was also configured to sync the Arch desktop with dropbox. Need to automate this.

rclone sync --interactive org Dropbox:org
rclone lsd Dropbox:

Sync Org Roam with mobile

On 2024-03-18, started using rclone to serve as an webdav server for syncing Org Roam on my Arch desktop in the local computers network with orgzly running on my android phone Note6Pro.

Used rcx to create a remote named org.

On 2025-08-24, when i tried to use the above remote with Alpine Linux, i was not able to connect at all.

# To simply serve as webdav with logging at debug level..
rclone --user prabu --pass 123 --addr :8080 serve webdav /data/docs/prabu/Dropbox/org --log-level DEBUG
# To serve as read only with logging
rclone --user prabu --pass 123 --addr :8080 serve webdav /data/docs/prabu/Dropbox/org --read-only --log-level DEBUG
# To serve as read only with logging excluding git directories
rclone --user prabu --pass 123 --addr :8080 --exclude ".git/"  serve webdav /data/docs/prabu/Dropbox/org/ --read-only --log-level DEBUG

Local CacheServer for Arch

Using rclone as CacheServer for Arch updates for local computers. Originally installed and used webfsd server for this purpose. But removed the package on 2024-03-20.

rclone --addr :8000 serve http /var/cache/pacman/pkg --read-only --log-level DEBUG
webfsd -Fd -p 8000 -r /var/cache/pacman/pkg

Local fileserver for Music

To serve the Music folder from Alpine Linux using webdav protocol. Used rcx to create a remote named Music

rclone --user prabu --pass 123 --addr :8080 --exclude ".git/"  serve webdav /data/audio/tamil/ --read-only --log-level DEBUG

Date: 2024-03-18 Mon 18:24

Author: Prabu Anand Kalivaradhan

Created: 2026-10-11 Sun 15:24