I want to permanently delete all files and folders from Google Drive that have been in the trash longer than X days.
This is not possible with the cleanup command because it completely empties the trash.
Rclone has the --drive-trashed-only flag to only work with files that are in the trash and I guess that can be combined with the --drive-use-trash=false while using the delete command but how do I find all files and folders that have been in the trash longer than X days? The flag --min-age can't be used for that so maybe we need a new flag called --min-trash-age or something. Or is there another way to achieve this?
I don't want to delete files based on their age but based on the time they've been in the trash. I hope that distinction is clear.
For example: I want to permanently delete all files that have been in the trash longer than 30 days. Assume I deleted a 2 year old file yesterday, I want to keep it there for another 29 days before it gets deleted.
Of course for this to be possible rclone should be aware of the trash timestamp of files and folders, is it?