Computer ???
No. | 431 |
Name. | swindler |
Subject. | bash 파일사이즈 확인하기 |
Main Cate. | Linux |
Sub Cate. | |
Date. | 2013-08-12 17:34 |
Hit. | 3181 (211.36.27.3) |
File. | |
wget -O "$filename_kr" 'http://thisisgame.com/pad/main.php' FILESIZE=$(du -b $filename_kr | cut -d: -f2 | awk '{print $1}') if [ $FILESIZE -eq 0 ] then touch /home/project/pad/batch/size0_kr.txt wget -O "$filename_kr" 'http://thisisgame.com/pad/main.php' fi 이런식으로 사이즈를 확인해서 재시도 할 수 있다. [바로가기 링크] : http://coolx.net/cboard/computer/431 |
|
|
|
[Modify] [Delete] | [Reply] [List] |