Minecraft-Autobackup
Minecraft-Autobackup copied to clipboard
World in subfolder breaks script
My level-name is HSH/Home
tar tries to create a file wich doesn't exists.
i quick fix my probleme using sed :
WORLDTOTAR=$(echo $WORLD | sed 's/\//_/g')
and pass new world name to tar
BFILE="$WORLDTOTAR.$STAMP.tar.gz"
CMD="tar -czf $FINALDIR/$BFILE $WORLD
Maybe this is not the best way.
This is for backup_server.sh
Hey man. Didn't know you could have slashes in worldnames. Thanks for the fix, I'll test it and put it in
Was this ever actually tested? What's up?