To find the missing extraction, you can write a script that compares the list of zip files with the list of extracted folders. Assuming all the zip files and extracted folders are in the same directory, and that the extracted folder names match the zip file names (minus the .zip extension), you can use the following Python script to identify the missing extraction:
import os
# Set the directory where your zip files and folders are located
directory = "path_to_your_directory"
# Get a list of all zip files
zip_files = [f for f in os.listdir(directory) if f.endswith('.zip')]
# Get a list of all folders (assuming folders do not have a . in their names)
extracted_folders = [d for d in os.listdir(directory) if os.path.isdir(os.path.join(directory, d))]
# Remove the .zip extension from zip files to compare with folder names
zip_files_without_extension = [os.path.splitext(f)[0] for f in zip_files]
# Find the zip file(s) without a corresponding extracted folder
missing_folders = set(zip_files_without_extension) - set(extracted_folders)
# Print out the missing folder(s)
if missing_folders:
print("The following zip file(s) are missing their extracted folder(s):")
for missing in missing_folders:
print(missing + '.zip')
else:
print("No missing extracted folders. All zip files have been extracted.")
Be sure to replace path_to_your_directory with the actual path to the directory containing your zip files and extracted folders.
This script will print out the names of any zip files that do not have a corresponding extracted folder in the directory. If all zip files were extracted correctly with folder names matching the zip file names (without the .zip extension), there should be no missing folders. If there is a discrepancy, the script will list the zip file(s) that are missing their extracted folder(s).