Repacks the specified file(s). If path is a directory, it will be walked recursively and all contained hdf5 files will be repacked. If the reclaimed free space is smaller than 1 MB, the operation is discarded.
Parameters: path (str) – The filename or directory. Returns: The freed disk space in MB. Return type: float