Download all maatkit scripts through a single command

According to maatkit home page,

Maatkit is a toolkit for users, developers, and administrators of open-source databases. It is high-quality, formally tested software that is well documented and has an active open-source developer community.

Here is the script that you can use to download all maatkit tools using a single command. Please let me know if you find any errors.

#!/bin/bash
wget http://www.maatkit.org/get/mk-archiver
wget http://www.maatkit.org/get/mk-checksum-filter
wget http://www.maatkit.org/get/mk-config-diff
wget http://www.maatkit.org/get/mk-deadlock-logger
wget http://www.maatkit.org/get/mk-duplicate-key-checker
wget http://www.maatkit.org/get/mk-error-log
wget http://www.maatkit.org/get/mk-fifo-split
wget http://www.maatkit.org/get/mk-find
wget http://www.maatkit.org/get/mk-heartbeat
wget http://www.maatkit.org/get/mk-index-usage
wget http://www.maatkit.org/get/mk-kill
wget http://www.maatkit.org/get/mk-loadavg
wget http://www.maatkit.org/get/mk-log-player
wget http://www.maatkit.org/get/mk-merge-mqd-results
wget http://www.maatkit.org/get/mk-profile-compact
wget http://www.maatkit.org/get/mk-purge-logs
wget http://www.maatkit.org/get/mk-query-advisor
wget http://www.maatkit.org/get/mk-query-digest
wget http://www.maatkit.org/get/mk-query-profiler
wget http://www.maatkit.org/get/mk-show-grants
wget http://www.maatkit.org/get/mk-slave-delay
wget http://www.maatkit.org/get/mk-slave-find
wget http://www.maatkit.org/get/mk-slave-move
wget http://www.maatkit.org/get/mk-slave-prefetch
wget http://www.maatkit.org/get/mk-slave-restart
wget http://www.maatkit.org/get/mk-table-checksum
wget http://www.maatkit.org/get/mk-table-sync
wget http://www.maatkit.org/get/mk-table-usage
wget http://www.maatkit.org/get/mk-tcp-model
wget http://www.maatkit.org/get/mk-upgrade
wget http://www.maatkit.org/get/mk-variable-advisor
wget http://www.maatkit.org/get/mk-visual-explain

chmod u+x ./mk-*

Copy and paste the above script in a file eg. mk-downloadall.sh and make it executable using the command below.

chmod u+x ./mk-downloadall.sh

Now, run the command and download all maatkit tools in the current working directory

$ ./mk-downloadall.sh

Did this tutorial help a little? How about buy me a cup of coffee?

Buy me a coffee at ko-fi.com

Please feel free to use the comments form below if you have any questions or need more explanation on anything. I do not guarantee a response.

IMPORTANT: You must thoroughy test any instructions on a production-like test environment first before trying anything on production systems. And, make sure it is tested for security, privacy, and safety. See our terms here.