gpt-3.5-turbo-0301· openai
from WildChat-4.8M
i wanna use a !curl -Lo but with archive from google drive how
Private research annotation
Sign in to add a private research label or note.
- User
i wanna use a !curl -Lo but with archive from google drive how
- Assistant
Unfortunately, you cannot use !curl -Lo to download an archive from Google Drive directly. This is because Google Drive URLs are not direct download links. Instead, you need to use a tool like gdown to download files from Google Drive using the command line.
Here's how you can download an archive from Google Drive using gdown:
- Open the Google Drive link to the archive.
- Click the "Download" button to download the file to your computer.
- Unzip the file.
- Open the Terminal.
- Install gdown using pip install gdown
- Use the following command to download the file in the Terminal: gdown "your_google_drive_link_here"
Replace "your_google_drive_link_here" with the link to the Google Drive file you want to download.
Example: gdown "https://drive.google.com/file/d/1BZCz5qjNxBiCg3zSSQcZvCyiYzF9xrdG/view?usp=sharing"
This will download the file to your current directory.