Cleanup-hidden is no longer available

What is the problem you are having with rclone?

rclone backend cleanup-hidden is no longer a command on S3, the available internal code remains unchanged in the source, but the cli appears to no longer have options to access it.

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

- rclone v1.65.0-beta.7504.47ca0c326
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.2715 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount

Also seen on NixOS 23. Same version, and on the stable release.

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

S3-like

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

rclone backend cleanup-hidden

The rclone config contents with secrets removed.

{

    "idr": {
        "access_key_id": "",
        "endpoint": "",
        "provider": "IDrive",
        "secret_access_key": "",
        "type": "s3"
    },
    "idrc": {
        "password": "",
        "password2": "",
        "remote": "idr[REDACTED]l",
        "type": "crypt"
    },
    "next": {
        "pass": "",
        "type": "webdav",
        "url": "",
        "user": "",
        "vendor": "nextcloud"
    }

A log from the command with the -vv flag

2023/11/19 01:05:59 DEBUG : rclone: Version "v1.65.0-beta.7504.47ca0c326" starting with parameters ["C:\\Users\\Macleod Sawyer\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Rclone.Rclone_Microsoft.Winget.Source_8wekyb3d8bbwe\\rclone-v1.64.2-windows-amd64\\rclone.exe" "backend" "cleanup-hidden" "idrc:" "-vv"]
2023/11/19 01:05:59 DEBUG : Using config file from "C:\\Users\\Macleod Sawyer\\AppData\\Roaming\\rclone\\rclone.conf"
2023/11/19 01:05:59 DEBUG : Creating backend with remote "idr:[redacted]"
2023/11/19 01:05:59 DEBUG : Resolving service "s3" region "us-east-1"
2023/11/19 01:05:59 DEBUG : 2 go routines active
2023/11/19 01:05:59 Failed to backend: "cleanup-hidden" command not found (try the underlying remote)

is the clue...

You run it against your crypt remote (idrc:). This command operated on S3 remote so you have to run:

rclone backend cleanup-hidden idr:bucket

as per docs.

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