Mercurial > ec-dotfiles
diff moefetch.sh @ 157:ffca564daefa
fix: I suck at comm
author | edhoprima |
---|---|
date | Sat, 25 Apr 2009 16:26:00 +0000 |
parents | d3b002fd944e |
children | cba73f6a96bb |
line wrap: on
line diff
--- a/moefetch.sh Sat Apr 25 16:16:50 2009 +0000 +++ b/moefetch.sh Sat Apr 25 16:26:00 2009 +0000 @@ -82,7 +82,7 @@ # THE FILES #ls "../$outdir" | grep -vf "$outdir-error" > "$outdir-ok" # - ls "../$outdir" | comm -1 -2 "$outdir-error" - > "$outdir-ok" + ls "../$outdir" | comm -1 -3 "$outdir-error" - > "$outdir-ok" cat "$outdir-list" | grep -vf "$outdir-ok" > "$outdir-newlist" echo "`echo \`wc -l < \"$outdir-newlist\"\`` file(s) to be downloaded" cd "../$outdir" @@ -113,7 +113,7 @@ else echo "Starting wget" cd "../$outdir" - wget -bi -e continue=on "../temp/$outdir-newlist" -o "../temp/$outdir.log" + wget -e continue=on -bi "../temp/$outdir-newlist" -o "../temp/$outdir.log" fi }