These scripts are simple rewritings of the Perl script Fix-OneDrive-Zip. For any technical details, see the original repository: https://github.com/pmqs/Fix-OneDrive-Zip
python3 fix-zip.py [--dry-run] file1.zip [file2.zip ...]
or
fix-zip.sh [--dry-run] file1.zip [file2.zip ...]