prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.18k forks source link

Failed to get file: googleapi: Error 404: File not found #605

Closed kenorb closed 3 years ago

kenorb commented 3 years ago
$ gdrive download --recursive "https://drive.google.com/drive/folders/1zx8OX_Iq9NDwKh8RRBTuIrNTbpR9oi2H"
Failed to get file: googleapi: Error 404: File not found: https://drive.google.com/drive/folders/1zx8OX_Iq9NDwKh8RRBTuIrNTbpR9oi2H., notFound
XiaoPanPanKevinPan commented 3 years ago

According to the gdrive help download, the field after [options] should be <fileId> In this case, it's 1zx8OX_Iq9NDwKh8RRBTuIrNTbpR9oi2H

Which means, you should run it this way: gdrive download --recursive "1zx8OX_Iq9NDwKh8RRBTuIrNTbpR9oi2H"

kenorb commented 3 years ago

Thanks, it seems providing ID works fine.