
Download tournament games in one go!
Since there's no function to download all games of a tournament I wrote a little bash script called tournget.sh which should work on any Linux system.
You can download it from
If you're not a Linux user you may get a Linux live DVD to start it without the need to touch your running operating system on your computer at all.
Step by Step Guide (Linux)
- Download my script from http://pastebin.com/R32G8SaE. For this guide I assume you choose your ~/Download folder. If you use the download function pastebin.com will add the suffix *.sh automatically.
Note: If you're worried about downloading any virusses or stuff, no worries, this is only a text files stored at pastebin.com.
-
Open a Terminal and change directory to ~/Downloads or where ever you've stored the file.
user@linux:~/$ cd Downloads
-
Get rid of the annoying DOS CRLF line terminators.
user@linux:~/Downloads$ sed -i 's/\r//' tournget.sh
-
That's it, you may now start the script for trial by
user@linux:~/Downloads$ bash tournget.sh
-
If you're happy with the script you probably want to make it executable, move it to a better location and link it into a place where it can be found.
user@linux:~/Downloads$ chmod a+x tournget.sh
user@linux:~/Downloads$ mkdir ~/bin
user@linux:~/Downloads$ mv tournget.sh ~/bin/
user@linux:~/Downloads$ sudo ln -s ~/bin/tournget.sh /usr/local/bin/tourngetNow you can invoke the script simply by typing tournget into your shell. The bash completion works as well, of course.
Here's a screenshot I captured using a Linux Mint Xfce Live DVD (available at http://www.linuxmint.com/download.php). This is how it looks like. Simple, but it does it's job.
