Cleanup ( delete trash/duplicates only ? )

@ncw Just to confirm before I use it … rclone cleanup gdrive: would just empty the trash/ remove possible duplicates without deleting any other data ?

I have tons of stuff in trash that is just not disappearing ( over 1 year old data ) and would like to empty whole trash since gdrive web is a bit retarded as its deleting only files shown eg 50 to 100 per page.

Hmm tested it but trash was not empty.

rclone cleanup gdrive: -vv
2018/06/05 07:52:29 DEBUG : rclone: Version "v1.41-070-g67e9ef45β" starting with parameters ["rclone" "cleanup" "gdrive:" "-vv"]
2018/06/05 07:52:29 DEBUG : Using config file from "/home/plex/.config/rclone/rclone.conf"
2018/06/05 07:52:29 INFO  : Google drive root '': Modify window is 1ms
2018/06/05 07:52:29 DEBUG : 4 go routines active
2018/06/05 07:52:29 DEBUG : rclone: Version "v1.41-070-g67e9ef45β" finishing with parameters ["rclone" "cleanup" "gdrive:" "-vv"]

Oldest files in trash

edit: It works, just google needs some time to actually clean the trash. ( after around 15 minutes the whole trash was empty )

rclone cleanup on drive empties the whole trash. It just calls the emtpyTrash API.

I’ve heard other reports that it takes a while!