Minecraft-Autobackup icon indicating copy to clipboard operation
Minecraft-Autobackup copied to clipboard

World in subfolder breaks script

Open kl3sk opened this issue 10 years ago • 2 comments

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

kl3sk avatar Jan 08 '15 21:01 kl3sk

Hey man. Didn't know you could have slashes in worldnames. Thanks for the fix, I'll test it and put it in

benjick avatar Feb 14 '15 18:02 benjick

Was this ever actually tested? What's up?

TangentFoxy avatar Aug 03 '16 00:08 TangentFoxy