I have a lot of zip files. Some are not downloaded correctly and are corrupted. I want to remove them.
Is there a way to find the corrupted archives in bash?
|
|
|
With GNU (for
|
|||||||||||||||
|
|
The following will print the name of all corrupted zip files in the current directory and its subdirectories:
If you wish to remove them, simply replace |
|||||||
|