pack_7zarchive doesn't cd into root_dir and doesn't abide dry_run #413
Labels
bug
Something isn't working
for archiving
Issue on archiving, compression or encryption
good first issue
Good for newcomers
help wanted
Extra attention is needed
I'm using the following code.
outdbfp
is apathlib.WindowsPath
of the file I want to compress. Its value is of the formMYPATH\db.sqlite3
.outdbzip
is apathlib.WindowsPath
of the output file I want. Its value is of the formMYPATH\db.7z
.Notice the two files are on the same directory.
However there are 2 problems:
root_dir
. I have to providebase_dir=outdbfp
otherwise it will way that the file does not exist.dry_run=True
seems to be ignored, as py7zr starts right awayThe text was updated successfully, but these errors were encountered: