diff --git a/script/dl_demos.sh b/script/dl_demos.sh new file mode 100755 index 0000000..b4f40f6 --- /dev/null +++ b/script/dl_demos.sh @@ -0,0 +1,5 @@ +cd /srv/ensl/files/demos/sputnik ||exit 1 +lynx -cache=0 -dump -listonly "http://ensl.gk-servers.de/public/index.php?dir=demos/SPUNTIK-1/" | grep -E "(*\.gz$)|(*\.dem$)" | awk '{print $2}'|tee demlinks.txt && wget --content-disposition -nc -i demlinks.txt +rm demlinks.txt +lynx -cache=0 -dump -listonly "http://ensl.gk-servers.de/public/index.php?dir=demos/" | grep -E "(*\.gz$)|(*\.dem$)" | awk '{print $2}'|tee demlinks.txt && wget --content-disposition -nc -i demlinks.txt +rm demlinks.txt diff --git a/script/dl_logs.sh b/script/dl_logs.sh new file mode 100755 index 0000000..91a6f9c --- /dev/null +++ b/script/dl_logs.sh @@ -0,0 +1,2 @@ +cd /srv/ensl/files/logs/sputnik1 ||exit 1 +lynx -cache=0 -dump -listonly "http://ensl.gk-servers.de/public/index.php?dir=logs/SPUTNIK-1/" | grep -E "(*\.gz$)|(*\.log$)" | awk '{print $2}'|tee links.txt && wget --content-disposition -nc -i links.txt