Skip to content

World in subfolder breaks script #3

@kl3sk

Description

@kl3sk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions