This project consist of two independent but related apps:
1 - Python 🐍 desktop app for checking integrity of all zip files in a folder tree
2 - Windows powershell script with a similar purpose but that does not require a python runtime
Requires Winpython or a compatible Python distribution. Basic Python runtime is not sufficient.
If not already installed, extract latest winpython distribution to the %APPDATA%
folder.
Ex.:
C:\Users\user\AppData\Roaming\WPy64-31131
Download this repository and extract to any folder.
Recomended (Windows):
%APPDATA%\zip_check
Ex. (Windows):
C:\Users\user\AppData\Roaming\zip_check
Download and copy the check_zips_ps.bat
file in any valid local folder.
Windows prevents execution of apps in some protected folders such as Downloads, Desktop, Documents and any folder synced to Onedrive. So if you see a blue "This app has been blocked" error message, move the files to a more appropriate folder like c:\scripts
or %APPDATA%\zip_check
.
Once both Winpython and the app are setup, double click the zip_check.py file to start.
If file associations with .py files is not working, double click the .cmd file that will try to autodetect the winpython folder.
Double click the check_zips_ps.bat
file in windows explorer.
It will check all zips on that folder and its subfolders, then present a csv report.
Install a Python distribution compatible with your OS.
Run the following command or create a shortcut:
python zip_check.py
Apache 2.0
- Some zip files for testing are included in
test
folder - A .html file with this README compiled is included for convenience
- Only zip files are supported, other compressed formats could be easily included. Fork away!