Delete file taking a long time

in my google drive folder there is like 20K files. i specific the file name to delete but rclone reading all the file and showing message these files are excluded and then delete the file. reading file taking a long time. is there any way we can just delete the file only without reading/parsing other files available on the folder?

hi

this is what you need
https://rclone.org/commands/rclone_deletefile/

file delete working fine, only issue i am seeing is that rclone reading entire folder file which taking time. after read all the file then rclone delete the file. is this normal, just wondering if rclone could delete the specific file without reading entire folder files.

here is the command line
rclone delete "remotename:abc\delete.rar" -vv

output
2021/02/22 21:08:16 DEBUG : aa.rar: Excluded
2021/02/22 21:08:16 DEBUG : asd.rar: Excluded
2021/02/22 21:08:16 DEBUG : ads.rar: Excluded
2021/02/22 21:08:17 INFO : delete.rar: Deleted
2021/02/22 21:08:17 DEBUG : 4 go routines active
Press any key to continue . . .

if you want to delete a single file, use https://rclone.org/commands/rclone_deletefile/

rclone delete will always scan the entire folder.

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