Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

axel download google drive

#!/bin/bash
if [ $# != 2 ]; then
echo "Usage: googledown.sh ID save_name"
exit 0
fi
confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id='$1 -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/1
/p')
echo $confirm
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$confirm&id=$1" -O $2 && rm -rf /tmp/cookies.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: stop a service at startup linux amazon 2 
Shell :: streams in unix 
Shell :: how to install voyager on existing project with dummy data 
Shell :: mx linux how to see gpu 
Shell :: gh-pages - gh-pages (non-fast-forward) 
Shell :: qusar framework install jest 
Shell :: wslcopy to system clipboard 
Shell :: go to last page in less command 
Shell :: command list sort files by size 
Shell :: How to import or export dependencies into env yml conda 
Shell :: instalar cabal do haskell no ubuntu 
Shell :: delete file kali linux shell 
Shell :: step9 pgadmin ubuntu 20.04 
Shell :: enable hhtpd to start at boot 
Shell :: Bash script to authenticate machine users 
Shell :: powershell show wlan password 
Shell :: create new repository 
Shell :: cd back 
Shell :: gitignore still tracking files 
Shell :: exception: unable to run "adb", check your android sdk installation and android_sdk_root environment variable: 
Shell :: bcmatch install 
Shell :: installing appwrite on docker 
Shell :: open Edge with terminal 
Shell :: msysgit display end 
Shell :: command to lists available Wi-Fi access points known to NetworkManager including its speed, security, signal, and more on linux 
Shell :: dnf install specific version 
Shell :: Connect to a Windows Maching via RDP 
Shell :: run the last command in unix 
Shell :: Linux search manual and list all pages with term 
Shell :: expo install safe area provider 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =