Datasets:

ArXiv:
License:

It seems that there are duplicate files in the Windows Images compressed volume

#4
by CodeSPA - opened

It seems that there are duplicate files in the Windows Images compressed volume

unzip -l windows_images.zip | grep 20240823_021850_before_screenshot

75653 2024-11-02 16:53 20240823_021850_before_screenshot_sub0.png
75653 2024-11-02 16:53 20240823_021850_before_screenshot_sub0.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
25319 2024-11-02 16:53 20240823_021850_before_screenshot_sub1.png
25319 2024-11-02 16:53 20240823_021850_before_screenshot_sub1.png
75653 2024-11-02 16:53 20240823_021850_before_screenshot_sub0.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png
75653 2024-11-02 16:53 20240823_021850_before_screenshot_sub0.png
152094 2024-11-02 16:53 20240823_021850_before_screenshot.png

Same. Not only windows_image, also on other zip files. If using code to get infolist (as below), will find many duplicates. It may not impact manually extract, it does trigger tons of warnings if enumerate infolist and write to another zip file. It looks the zip files were created with redudant write operations.

with zipfile.ZipFile(zip_file, 'r') as z:
        infolist = z.infolist()

Sign up or log in to comment