Multiple --unlink

What is the problem you are having with rclone?

I shared a folder using a shortcut (anyone with the link) and it applied the setting to all files even files in subfolders

Now I want to cancel sharing, I thought if I use link --unlink it will cancel access to all files in all sub-installations in the defined path but it doesn't.

Is there a way to cancel access with a link to all the files?

I used to use https://www.whohasaccess.com/ but it closed.

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.4602 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount

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

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone link --unlink DriveA:tmpshare/*

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[DriveA]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =


[DriveB]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =

A log from the command that you were trying to run with the -vv flag

...

that does not look like a valid command.
please post the debug log

Oh, actually the command I did is
rclone link --unlink DriveA:tmpshare/

And my question is is there a way to do this for all the files that are in the folders and the folders like -r
And so I wrote
rclone link --unlink DriveA:tmpshare/*

Now that I try to get an output of the log I get an exception from the API quota
So I'm not sure how much it helps?

2024/12/17 18:09:44 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2024/12/17 18:09:44 DEBUG : pacer: Rate limited, increasing sleep to 1.328157284s
2024/12/17 18:09:44 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2024/12/17 18:09:44 DEBUG : pacer: Rate limited, increasing sleep to 2.939684774s
2024/12/17 18:09:46 DEBUG : pacer: low level retry 3/10 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2024/12/17 18:09:46 DEBUG : pacer: Rate limited, increasing sleep to 4.70164397s
2024/12/17 18:09:49 DEBUG : pacer: low level retry 4/10 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2024/12/17 18:09:49 DEBUG : pacer: Rate limited, increasing sleep to 8.564236171s
2024/12/17 18:09:53 DEBUG : pacer: low level retry 5/10 (error googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded)
2024/12/17 18:09:53 DEBUG : pacer: Rate limited, increasing sleep to 16.926040365s

that is a common error, can search the forum...

Well then it turns out that the --unlink option doesn't really work in rclone

References:

A good temporary solution:

Thanks for your help anyway :slight_smile:

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