Made the script absolute
It always restores to the same folder
This commit is contained in:
parent
c2af8772d6
commit
058d51c738
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ for X in $(seq $X1 $X2); do
|
|||
for Z in $(seq $Z1 $Z2); do
|
||||
echo "Unzipping region ($X,$Z)..." >&2
|
||||
#unzip "$1" "world/region/r.$X.$Z.mca" -d backupextract
|
||||
unzip -j -u "$1" "world/region/r.$X.$Z.mca" -d backupextract # BACKUP_world/region # -j: Don't retain folder structure
|
||||
unzip -j -u "$1" "world/region/r.$X.$Z.mca" -d /minecraft/main/BACKUP_world/region # -j: Don't retain folder structure
|
||||
done
|
||||
done
|
||||
echo "Backup restoration finished!" >&2
|
||||
|
|
Loading…
Reference in a new issue