wget 사용하여 나는꼼수다 7회 다운로드 걸어놓는 꼼수
downloadFile="20110623.mp3" downloadLocation="http://old.ddanzi.com/appstream/"$downloadFile fileName=~/Music/$downloadFile while [ ! -f $fileName ] do wget -c -O $fileName $downloadLocation if [ $(ls -lah $fileName | awk '{ print $5}') = "0B" ] then echo REMOVE $fileName rm $fileName fi sleep 30 done echo '\0007\0007\0007\0007\0007' if [ ! -f $fileName ] $fileName 에 해당하는 파일이 존재 하지 않을 경우 수식이 참이 ..
카테고리 없음
2011. 6. 23. 18:25
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- bash
- Firefox
- 마더 컴플렉스
- 음악
- oss
- add-on
- 공차코리아
- apue.h
- advanced programming in the unix environment
- 나는꼼수다
- 플랜트파우더
- Mozilla Labs
- NDS
- spark streaming
- 스토리베리
- 코디엔 삽질이 필요하다
- 윈터멜론밀크티
- Hunted
- Prism
- 공차
- 반성문
- Reality TV Show
- svn
- 영화
- shell commands
- Subversion
- VIM
- Scala
- 쉘 명령어
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함