While exporting some mailboxes via Apple Mail in macOS, the mail client itself unfortunately does not show the progress of this operation. The only way to know if it's done is when the resulting directory no longer has ".partial" as a substring of its name.
Calling du -sh
in this directory can somehow report the progress of the operation, but it's manual and tedious. Is there another command line tool that would ease the process of actively monitoring this until the operation has completed?