Add dump command #592

Merged
konrad merged 11 commits from feature/dump into master 2020-06-19 21:29:05 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d98b4dd4c4 - Show all commits

View File

@ -80,7 +80,7 @@ func Dump(filename string) {
log.Criticalf("Error saving file: %s", err)
}
for fid, fcontent := range allFiles {
err = writeBytesToZip("allFiles/"+strconv.FormatInt(fid, 10), fcontent, dumpWriter)
err = writeBytesToZip("files/"+strconv.FormatInt(fid, 10), fcontent, dumpWriter)
if err != nil {
log.Criticalf("Error writing file %d: %s", fid, err)
}