Sync is not removing excluded empty directories on the destination

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Sync is not removing excluded empty directories on the destination

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

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

local

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

rclone sync -P $env:LOCALAPPDATA\Plex "$HOME\Мой диск\документы\backups\plex" --delete-excluded --exclude "cache/updates/"

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

[gdrive]
type = drive
scope = drive
token = XXX
team_drive =

[mega]
type = mega
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly

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

If you've excluded them, sync won't remove them as you've excluded them.

Idk, I see this in logs:

2024/06/30 21:40:33 INFO  : cache/updates/1.95.3.175-dd94cbd1: Removing directory

And it removes files in excluded folders, but not the folders (despite saying that it does that in logs)

Looks like permissions:

2024/06/30 21:40:33 INFO  : cache/updates/1.95.3.175-dd94cbd1/packages: Removing directory
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:               275 / 275, 100%
Deleted:                0 (files), 1 (dirs), 0 B (freed)
Elapsed time:         0.1s
2024/06/30 21:40:33 DEBUG : cache/updates/1.95.3.175-dd94cbd1/packages: Failed to Rmdir: remove \\?\C:\Users\user\╨Ь╨╛╨╣ ╨┤╨╕╤Б╨║\╨┤╨╛╨║╤Г╨╝╨╡╨╜╤В╤Л\backups\plex\cache\updates\1.95.3.175-dd94cbd1\packages: Access is denied.
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -

No idea why rclone shows this "access is denied" error, I have all rights to destination folder and can remove it without any error.

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