diff --git a/blender_asset_tracer/pack/filesystem.py b/blender_asset_tracer/pack/filesystem.py index c27528e..51c3eef 100644 --- a/blender_asset_tracer/pack/filesystem.py +++ b/blender_asset_tracer/pack/filesystem.py @@ -82,8 +82,12 @@ class FileCopier(transfer.FileTransferer): log.info('Skipped %d files', self.files_skipped) def move(self, srcpath: pathlib.Path, dstpath: pathlib.Path): + s_stat = srcpath.stat() shutil.move(str(srcpath), str(dstpath)) + self.files_transferred += 1 + self.report_transferred(s_stat.st_size) + def copyfile(self, srcpath: pathlib.Path, dstpath: pathlib.Path): """Copy a file, skipping when it already exists."""