download google drive file using curl

Red Team answered on March 28, 2023 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • how download google drive file with wget
  • download link from google drive file
  • download google drive file ubuntu
  • google drive file download link using wget
  • command line download file from google drive
  • download google drive file linux
  • download google drive file linux
  • download from google drive in terminal
  • how to download from google drive using terminal
  • script to download a file to google drive
  • google drive bash download
  • google drive bash download

  • download google drive file using curl

    0

    # filename="saved_model/model.pt"

    # fileid="1bjHvSQrKLtIYdextXBBKrk2l5P_xWdE1"

    html=$(curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=${fileid}")

    curl -Lb ./cookie "https://drive.google.com/uc?export=download&$(echo "${html}"|grep -Po '(confirm=[a-zA-Z0-9\-_]+)')&id=${fileid}" -o "${filename}" 

    Popularity 7/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 28 2023
    Red Team
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 7/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 28 2023
    Combative Caterpillar
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.