Rclone purge does not free up space in Google Drive

What is the problem you are having with rclone?

I attempted to free up space on my Google Drive using Rclone. The total storage used was 15TB, but something went wrong—it's been stuck at 8.5TB left for the past 3-4 days without reducing further.

Initially, I used rclone delete, letting it run for about 2-3 days, which successfully reduced the storage from 15TB to 8.5TB. Then, I assumed rclone purge might be faster, so I listed all the folders in my Google Drive and used rclone purge --rmdirs to remove them. After that, all files and folders were gone, and even the Trash was empty. However, despite waiting 3-4 days, Google still reports "8.5TB of 15TB used", with no change in storage usage.

Following Google's instructions, I navigated to Storage Manager → Review Large Files, where I still saw many files listed. I manually deleted 32 files at a time (default limit), and the storage did decrease.

How can I completely free up the remaining space? This issue is blocking my Gmail from receiving new emails. Any advice would be greatly appreciated!

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

rclone v1.65.1

  • os/version: Microsoft Windows Server 2016 Datacenter 1607 (64 bit)
  • os/kernel: 10.0.14393.2273 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.21.5
  • 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 purge gdrive://path

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = 10****504-idmnum******t3ub6.apps.googleusercontent.com
client_secret = D_D*****kI-QIG
scope = drive
token = {"access_token":"***.**-***-***","token_type":"Bearer","refresh_token":"1//**-***-***-***-**-**","expiry":"**"}
root_folder_id = 0A***PVA

A log from the command with the -vv flag

rclone purge gdrive: -vv
2025/02/08 09:11:23 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "purge" "gdrive:" "-vv"]
2025/02/08 09:11:23 DEBUG : Creating backend with remote "gdrive:"
2025/02/08 09:11:23 DEBUG : Using config file from "E:\\Rclone\\rclone.conf"
2025/02/08 09:11:23 DEBUG : 2 go routines active
rclone ls gdrive: -vv
2025/02/08 09:10:18 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "ls" "gdrive:" "-vv"]
2025/02/08 09:10:18 DEBUG : Creating backend with remote "gdrive:"
2025/02/08 09:10:18 DEBUG : Using config file from "E:\\Rclone\\rclone.conf"
2025/02/08 09:10:18 DEBUG : gdrive: Loaded invalid token from config file - ignoring
2025/02/08 09:10:18 DEBUG : Saving config "token" in section "gdrive" of the config file
2025/02/08 09:10:19 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2025/02/08 09:10:19 DEBUG : gdrive: Saved new token in config file
2025/02/08 09:10:19 DEBUG : 6 go routines active
rclone about gdrive:
Total:   15Gi
Used:    8.494Ti
Free:    off
Trashed: 0
Other:   765.683Mi

It is not rclone problem IMO.

It can take many days before your massive delete operations are taken into account. This is beauty of Google Drive.

In addition Total: 15Gi - it is your total space. Typical for free account. Then your used space is in Ti and Free is off. Looks like Google terminated your account or for some reason blocked you from creating any new content (read only mode).

Contact Google support.

Yes I know it can takes days for Google Drive to update the storage space, I just posted here to make sure I did nothing wrong.

For the free account, I were using a paid plan and just canceled it a couple of week ago.

I think it would be more logical to delete content first and then terminate account given that you still want to use it. Now it is hard to tell how Google will manage it. Wait a week - if nothing changes then talk to their support.

Yes it's my mistake. I will wait for some days before taking to their support. Thank you!

Hello everyone, I just wanted to provide an update on this topic. After several days of seeing no changes in the storage usage of my Google Drive account, I decided to write a small script using AutoIT to delete files through the interface. So far, this is the only solution I could think of, and it actually works.

The script is to select all files (32 by default), then hit the Delete button.

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