“arquivo wget do Google Drive” Respostas de código

Como baixar o arquivo do Google Drive com wget

// Files smaller than 100MB
wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME

// Files bigger than 100MB
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
Gifted Helper

arquivo wget do Google Drive

# download_gdrive.sh
#!/bin/bash

FILEID=$1
FILENAME=$2

# Files bigger than 100MB
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id='${FILEID} -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=${FILEID}" -O $FILENAME && rm -rf /tmp/cookies.txt

$ > download_gdrive.sh $GOOGLE_DRIVE_FILEID $OUTPUT_FILE_NAME
FishBrawler

arquivos wget do Google Drive

wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O backup.zip && rm -rf /tmp/cookies.txt
Charming Crane

Link do download do arquivo do Google Drive usando WGET

curl -L "https://docs.google.com/uc?export=download&id=0Bz-w5tutuZIYY3h5YlMzTjhnbGM" > index4phlat.tar.gz
Neoistone

Download do Google Drive no terminal

wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
Hilarious Hamerkop

Respostas semelhantes a “arquivo wget do Google Drive”

Perguntas semelhantes a “arquivo wget do Google Drive”

Mais respostas relacionadas para “arquivo wget do Google Drive” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código