#!/bin/bash rsync -rt --info=progress2 mtio:/opt/minebest/ ~/linux-minetest-kit-rsync code=$? if [ $code -eq 0 ]; then echo "Updating ~/linux-minetest-kit-rsync...OK" else echo "Updating ~/linux-minetest-kit-rsync...FAILED" fi cd ~/linux-minetest-kit-rsync cat <