mirror of
https://github.com/danog/gigaclone.git
synced 2024-12-02 09:27:55 +01:00
Update gigaclone
This commit is contained in:
parent
b6af099ca2
commit
c68bf20693
@ -13,9 +13,9 @@ for f in ./*;do {
|
|||||||
echo "Working... for $f"
|
echo "Working... for $f"
|
||||||
sed -i '/.*404.*/d;/.*403.*/d;s/\sHTTP.*//g;s/.*\s/http:\/\/profile\.gigaset\.net/g;/http:\/\/profile\.gigaset\.net\"\"/d' $f
|
sed -i '/.*404.*/d;/.*403.*/d;s/\sHTTP.*//g;s/.*\s/http:\/\/profile\.gigaset\.net/g;/http:\/\/profile\.gigaset\.net\"\"/d' $f
|
||||||
echo "Remove duplicates for $f"
|
echo "Remove duplicates for $f"
|
||||||
gawk -i inplace '!seen[$0]++' $f
|
awk '!seen[$0]++' $f>$tmp/1
|
||||||
echo "Download urls in $f."
|
echo "Download urls in $f."
|
||||||
wget -i $f -x -N -P $dir
|
wget -i $tmp/1 -x -N -P $dir
|
||||||
};done
|
};done
|
||||||
|
|
||||||
cd $dir
|
cd $dir
|
||||||
|
Loading…
Reference in New Issue
Block a user