Created
July 11, 2026 00:05
-
-
Save uyjulian/cfeeabe344b19ab04e66f5dd3efcc140 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # SPDX-License-Identifier: MIT | |
| import sys | |
| with open(sys.argv[1], "rb") as f, open(sys.argv[2], "wb") as wf: | |
| while True: | |
| a = f.read(1056) | |
| if len(a) != 1056: | |
| break | |
| wf.write(a[:-32]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment