rclone/rclone

allow setting filter/include/exclude from the auth-proxy script

開放

#6,704 建立於 2023年1月17日

 (3 則留言) (0 個反應) (0 位負責人)Go (5,090 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (57,185 顆星)
PR 合併指標
 (平均合併 32天 20小時) (30 天內合併 23 個 PR)

描述

The associated forum post URL from https://forum.rclone.org

https://forum.rclone.org/t/filter-with-auth-proxy/35514/3

What is your current rclone version (output from rclone version)?

rclone v1.61.1
- os/version: linuxmint 19.3 (64 bit)
- os/kernel: 5.4.0-122-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

What problem are you are trying to solve?

generating _root/filter/include/exclude dynamically from auth-proxy script

How do you think rclone should be changed to solve that?

rclone should be able to extract filter/exclude/include definitions from the json returned by the auth-proxy script, such as:

#!/usr/bin/env bash

cat <<__EOF__

{ "type": "local", "_root": "/", "include": ["data/**","backup/**"] }

__EOF__

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

貢獻者指南