티스토리 뷰
728x90
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -o ./jq
chmod a+x ./jq
./jq -V
export USER=seunggabi
export BITBUCKET_TOKEN=###
brew install jq
mkdir -p ~/workspace
cd ~/workspace
curl -v --cookie "cloud.session.token=$BITBUCKET_TOKEN" https://bitbucket.org/\!api/internal/workspaces/asdf/projects/ASDF/repositories\?page\=1\&pagelen\=100\&sort\=name |
jq -r ".values[].name" |
while read name ; do
git clone https://$USER@bitbucket.org/asdf/$name.git
done
https://stackoverflow.com/questions/68121082/how-to-iterate-over-json-array-with-jq
https://www.44bits.io/ko/post/cli_json_processor_jq_basic_syntax
https://stackoverflow.com/questions/15995919/how-to-use-curl-to-send-cookies
https://stedolan.github.io/jq/tutorial/
https://www.44bits.io/ko/post/cli_json_processor_jq_basic_syntax
728x90
'공부' 카테고리의 다른 글
[flink] basic (0) | 2022.11.03 |
---|---|
[kafka] docker-compose (0) | 2022.11.03 |
[kotlin] toObject, toJson (0) | 2022.11.02 |
[bitbucket] default description & checkbox not working in description & team mention not working... (0) | 2022.11.02 |
[golang] split (0) | 2022.10.19 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 테슬라 크레딧 사용
- 팔로워 수 세기
- 테슬라 레퍼럴 코드 확인
- 연애학개론
- 테슬라 리퍼럴 코드 혜택
- 인스타그램
- 모델y
- Kluge
- 할인
- 유투브
- 모델 Y 레퍼럴
- 테슬라 레퍼럴 적용 확인
- wlw
- 메디파크 내과 전문의 의학박사 김영수
- 테슬라 리퍼럴 코드
- 레퍼럴
- 클루지
- Bot
- 개리마커스
- 테슬라 추천
- 테슬라
- 어떻게 능력을 보여줄 것인가?
- follower
- 테슬라 리퍼럴 코드 생성
- COUNT
- 김달
- 테슬라 레퍼럴
- 책그림
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함