--drive-trashed-only showing files/directories that aren't trashed

What is the problem you are having with rclone?

Rclone only showing files/directories that aren't trashed when using --drive-trashed-only

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

rclone v1.60.0

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.2251 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.19.2
  • go/linking: static
  • go/tags: cmount

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

Google Shared Drive

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

rclone lsf gcrypt

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = ...
client_secret = ...
token = ...
team_drive = ...
root_folder_id = 

[gcrypt]
type = crypt
remote = gdrive:
password = ...

A log from the command with the -vv flag

2022/11/17 03:45:56 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "lsf" "gcrypt:" "--drive-trashed-only" "--fast-list" "-vv"]
2022/11/17 03:45:56 DEBUG : Creating backend with remote "gcrypt:"
2022/11/17 03:45:56 DEBUG : Using config file from "C:\\Users\\User\\AppData\\Roaming\\rclone\\rclone.conf"
2022/11/17 03:45:56 DEBUG : Creating backend with remote "gdrive:"
2022/11/17 03:45:56 DEBUG : gdrive: detected overridden config - adding "{txBp-}" suffix to name
2022/11/17 03:45:56 DEBUG : fs cache: renaming cache item "gdrive:" to be canonical "gdrive{txBp-}:"
1/
2/
3/
4/
5/
6/
7/
8/
2022/11/17 03:45:57 DEBUG : 4 go routines active

Trashed only will show non-trashed directories otherwise there is no way to access the trashed files inside.

Rclone doesn't search the whole drive for trashed files, so it ends up showing all the directories.

Any files it finds should be trashed though.