how to set –exclude flag using HTTP API of rclone? – Stack Overflow
I’m trying to post a rclone sync equivalent to rclone sync pCloud:src /dest --checksum --exclude *.txt.
The following curl almost do the trick:
curl --location 'http://localhost:5572/sync/sync' --header 'Content-Type: application/json'--data '{"srcFs": "pCloud:src","dstFs": "/dest", "_config": {"checksum": true},"_filter": {"Exclude": ["*.txt"]}, "_async": true}'
Unfortunately, exclude pattern is ignored (I also try with “exclude” instead of “Exclude” or with “exclude” in the “_config” object, or replacing “_filter” by “flags” (all proposed by some AI bot (I did not found any Http API doc).
Do you have any advice?
Read more here: Source link
