Created
April 16, 2011 08:36
-
-
Save tdebarochez/922978 to your computer and use it in GitHub Desktop.
I use this script to automatically update my rendered Minecraft map with pigmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -f pigmap/output/pigmap.params ] | |
then | |
find world/region/ -newer pigmap/output/pigmap.params > changes.txt | |
date >> error_log && ./pigmap/pigmap -i world/ -o pigmap/output/ -g pigmap/images -r changes.txt -h 3 >> error_log && date >> error_log | |
else | |
date >> error_log && ./pigmap/pigmap -B 6 -T 1 -Z 10 -i world/ -o pigmap/output/ -g pigmap/images -r changes.txt -h 3 >> error_log && date >> error_log | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment