Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- python os
- 정규식 활용
- c3 축 없애기
- centos pyhon 설치
- telegraf
- snmp test
- 정규식 문자열 출력
- 정규식 컴파일
- g++ 업데이트
- selinux port 등록
- c3 축 가리기
- 백준
- c++ 정규식
- CentOS7
- semanage
- gcc regex
- c3 초
- 1697
- snmp
- c3 step graph
- linux시간으로 변경
- gcc 업데이트
- grafana dashboard
- InfluxDB
- c3 second
- influxdb 설치
- regex_search
- python subprocess
- subporcess path
- python popen
Archives
- Today
- Total
리셋 되지 말자
wget 구글 드라이브 대용량 파일 다운로드 본문
medium.com/@acpanjan/download-google-drive-files-using-wget-3c2c025a8b99
Download Google Drive Files using wget
Files can be downloaded from google drive using wget. Before that you need to know that files are small and large sized in google drive.
medium.com
요기서 되는거 찾았따
파일은 당연히 '링크가 있는 모든 사람에게 공유 가능'이렇게 설정 되어있어야함.
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
여기에 FILEID와 FILENAME만 맞춰서 넣어주면 됨.
'Linux Tips' 카테고리의 다른 글
grep 결과 필드 분리 및 특정 필드 출력 (0) | 2021.05.31 |
---|---|
ssh 접속 ECDSA key fingerprint 자동 등록 (0) | 2021.05.27 |
Could not get lock /var/lib/dpkg/lock-frontend 에러 (0) | 2021.04.10 |
[ubuntu] 마우스 휠 복사 붙여넣기 (0) | 2021.04.08 |
yum 관련 명령어 및 패키지 의존성(충돌시) 확인법 (0) | 2021.03.31 |
Comments