mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 12:01:03 +00:00
Add some WIP demo download script
This commit is contained in:
parent
a8e3fc9bb7
commit
263cc2279e
2 changed files with 7 additions and 0 deletions
5
script/dl_demos.sh
Executable file
5
script/dl_demos.sh
Executable file
|
@ -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
|
2
script/dl_logs.sh
Executable file
2
script/dl_logs.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue