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 |
Tags
- 백준
- g++ 업데이트
- c3 초
- 정규식 활용
- gcc 업데이트
- c3 second
- 정규식 문자열 출력
- gcc regex
- InfluxDB
- grafana dashboard
- python os
- python popen
- centos pyhon 설치
- c3 step graph
- 1697
- subporcess path
- telegraf
- c3 축 없애기
- snmp test
- CentOS7
- influxdb 설치
- selinux port 등록
- 정규식 컴파일
- c++ 정규식
- python subprocess
- regex_search
- c3 축 가리기
- semanage
- linux시간으로 변경
- snmp
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