mirror of
https://github.com/danog/gigaclone.git
synced 2024-11-30 04:29:09 +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"
|
||||
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"
|
||||
gawk -i inplace '!seen[$0]++' $f
|
||||
awk '!seen[$0]++' $f>$tmp/1
|
||||
echo "Download urls in $f."
|
||||
wget -i $f -x -N -P $dir
|
||||
wget -i $tmp/1 -x -N -P $dir
|
||||
};done
|
||||
|
||||
cd $dir
|
||||
|
Loading…
Reference in New Issue
Block a user