Purge unorganized google files/folders

What is the problem you are having with rclone?

My problem is with Google Drive, and hopefully rclone can solve it. :pray:

The problem is that my Google Drive account have 10-15TB of "unorganized" or "orphaned" files, and the only suggestion google gives me to handle it is to use the web interface and manually delete the files. (Or just pay for the extra storage, I have a feeling that this is a classic "bug or feature"-situation for the team, since I'm sure I'm not the only one paying for storage for files like this.)

Anyways, since I have everything backed up to a local drive, I'm thinking perhaps just purging the whole drive might solve it? But does anyone know if unorganized files will be deleted in a purge? And/or is there any prefixes that will include it?

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

rclone v1.65.1

  • os/version: darwin 12.7.4 (64 bit)

  • os/kernel: 21.6.0 (x86_64)

  • os/type: darwin

  • os/arch: amd64

  • go/version: go1.21.5

  • go/linking: dynamic

  • 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 purge

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

type = drive

client_id = XXX

client_secret = XXX

token =

[macbook]

type = local

[oz-rclone]

type = drive

client_id = XXX

client_secret = XXX

token =

Could you please explain what does it mean? Maybe provide some example?

Absolutely, in google drive when you delete a folder, the files within it don't necessarily get deleted. They become "orphaned," meaning they still exist but lack a designated folder structure. Google Drive categorizes these orphaned files as "Unorganized." You can find them if you search input "is:unorganized owner:me" in the search field in google drive.

Thank you for clarification.

Have a look at:

It is already merged so you should be able to use it with the latest rclone beta.

Possibly you could generate list of such files and then use it to delete them?

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