1
0
mirror of https://github.com/danog/gigaclone.git synced 2025-01-22 21:51:16 +01:00

Update gigaclone

This commit is contained in:
Video download 2015-09-24 22:07:24 +02:00
parent e2a2c07a6d
commit 7b17e2b699

View File

@ -3,8 +3,22 @@ set -e
dir="$PWD/copy"
mkdir $dir
wget http://profile.gigaset.net/logs.tgz && tar -xzf logs.tgz && cd log && awk '!seen[$0]++' * | grep -v 404 | grep -v 403 | cut -d'H' -f1 | sed 's/^/http:\/\/profile\.gigaset\.net/g' | awk '!seen[$0]++' > ../tmp.txt && cd ../ && rm -R log logs.tgz && cd $dir && wget -i ../tmp.txt -x -N -nc && rm ../tmp.txt
cd ..
wget http://profile.gigaset.net/logs.tgz && tar -xzf logs.tgz
cd log
awk '!seen[$0]++' * >../tmp
grep -v 404 ../tmp >../tmp2
grep -v 403 ../tmp2 >../tmp
cut -d'H' -f1 ../tmp >../tmp2
sed 's/^/http:\/\/profile\.gigaset\.net/g' ../tmp2 >../tmp
awk '!seen[$0]++' ../tmp >../tmp.txt
cd ../
rm -R log logs.tgz
cd $dir
wget -i ../tmp.txt -x -N -nc && rm ../tmp.txt
wget https://copy.com/install/linux/Copy.tgz
tar xvzf Copy.tgz
cd copy/x86_64