bash
$ seq -f %03g 1 10
002
003
004
005
006
007
008
009
010
ループ loop
for i in `seq -f %03g 1 90`; do wget https://blog-imgs-77-origin.fc2.com/u/r/u/urutoraerogazou/matsushima-kaede-166-$i.jpg ; done
for i in `seq 414 453`; do wget https://blog-imgs-76-origin.fc2.com/d/e/n/densetsuav/1543tachibanarikopin-$i.jpg ; done
二重ループ double loop サンプル
do for i in `seq 1 12`
# do wget -r https://javtube.com/javpic/ameri-ichinose/$j/ameri-ichinose-$i.jpg
do wget -r https://jjgirls.com/japanese/rin-aikawa/$j/rin-aikawa-$i.jpg
done
done
R
for(i in seq(1,47,1)){ colnames(mdf)[i] <- (paste(sprintf("%02d",i),colnames(mdf)[i],sep=""))}
sprintf("%.2f",100.0111)
[1] "100.01"
sprintf("%.3f",100.0111)
[1] "100.011"
sprintf("%.5f",100.0111)
[1] "100.01110"
sprintf("%.6f",100.0111)
[1] "100.011100"
awk
awk '{$3=sprintf("%02d", $3);
find . -print | awk -F\. '{print $2}' | grep k | awk -F\/ '{print $3"-"$2}' | awk '{split($0,a,"-"); print "cp \.\/"a[4]"\/"a[1]"-"a[2]"-"a[3]".jpg ~\/tmpimage\/kaede\/jjgirls.com\/"a[1]a[2]a[4]"-"a[3]".jpg"}' > kaedecp.txt
0 件のコメント:
コメントを投稿