diff options
-rwxr-xr-x | bin/sync/sync-wiki.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sync/sync-wiki.sh b/bin/sync/sync-wiki.sh index 6bd6abec..1bff0ecb 100755 --- a/bin/sync/sync-wiki.sh +++ b/bin/sync/sync-wiki.sh @@ -40,7 +40,7 @@ echo "" echo "" echo "###################" echo "Descomprimimos y reemplazamos la BD local por la remota" -rm "/tmp/*.sql" +rm "/tmp/*.sql.*" bunzip2 "/tmp/$REMOTO-$DB.sql.bz2" # mysql --user=$USER --password=$PASSWORD -e "CREATE database if not exists $BDIMPORT;" mysql --user=$USER --password=$PASSWORD $DB < "/tmp/$REMOTO-$DB.sql" |