Skip to content

Commit

Permalink
bug fix in the unzip script
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhou7 committed Mar 8, 2023
1 parent d316569 commit 0ac454e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def zip_db():
os.system("cd data && tar cvzf - mariposa.db | split --bytes=50MB - chunk.tar.gz.")

def unzip_db():
os.system("mv mariposa.db mariposa.temp.db")
os.system("cd data && mv mariposa.db mariposa.temp.db")
os.system("cd data && cat chunk.tar.gz.* | tar xzvf -")

def import_tables(other_db_path):
Expand Down

0 comments on commit 0ac454e

Please sign in to comment.