This Magisk module integrates Rclone with FUSE support into Android, allowing you to manage remote storage mounts seamlessly. It includes scripts for managing Rclone services and automating tasks during boot and runtime.
本 Magisk 模块将 Rclone(支持 FUSE 3.17.x)集成到 Android,实现远程存储的无缝挂载与自动化管理。包含服务脚本,可在开机和运行时自动管理 Rclone 任务。
RClone Sync: sync service (支持自动同步任务)
/data/adb/modules/rclone/conf/rclone.conf - Main config (use rclone-config to edit)
/data/adb/modules/rclone/conf/env - Custom environment variables and flags
/data/adb/modules/rclone/conf/htpasswd - Web GUI username/password
/data/adb/modules/rclone/conf/sync - Sync jobs config file
rclone-configOpens the Rclone configuration interface.
打开 Rclone 配置界面。
rclone-config
rclone-webStarts the Rclone Web GUI with predefined options.
启动 Rclone Web GUI 并使用预设参数。
rclone-web --rc-addres=:8080
rclone-syncRuns Rclone sync jobs defined in the configuration file.
执行配置文件中定义的 Rclone 同步任务。
rclone-sync remote:/path /local/path [options]
rclone-kill-allUnmounts all Rclone mount points and kills all Rclone-related processes.
卸载所有 Rclone 挂载点并终止相关进程。
rclone-kill-all
RCLONESYNC_CONF) / 同步配置文件You can define automatic rclone sync jobs in the /data/adb/modules/rclone/conf/sync file.
You can also set the RCLONESYNC_CONF environment variable to use a custom path.
Each line represents a sync job, format:
你可以通过配置 /data/adb/modules/rclone/conf/sync 文件,定义需要自动同步的 rclone 任务。
你也可以通过设置环境变量 RCLONESYNC_CONF 指定其他路径。
每一行代表一个同步任务,格式如下:
<remote>:<remote_path> <local_path> [optional options/可选参数]
<remote>:<remote_path>: rclone remote name and path / rclone 配置的远程名及其路径<local_path>: local target path / 本地目标路径[optional options]: additional rclone sync options / 支持的其他参数gdrive:/Documents "/sdcard/My Documents"
onedrive:/Photos "/sdcard/OneDrive Photos" --delete-excluded
mybox:/Backup "/data/backup" --dry-run
Notes / 注意:
"" 包裹# are comments and will be skipped# 开头的行为注释,会被自动跳过/data/log/rclone_sync.log/data/log/rclone_sync.logDaily automated workflow checks for new Rclone releases and creates pull requests with version updates.
每日自动检查 Rclone 新版本并创建更新 PR。
Contributions are welcome! Please ensure that your changes are well-documented and tested.
欢迎贡献!请确保你的更改有良好文档和测试。
This project is licensed under the MIT License. See the LICENSE file for details.
本项目采用 MIT License,详见 LICENSE。