I'm completely new to writing scripts in Linux and wish to wright a script to look through a directory and i'ts subdirectories and when it finds a zip file check the integrity of this file.
I done a bit of investigation and know that i need to use
Code:
zip -T filename.zip
to test the integrity of the file, but i not sure how to recursively work my way through a directory structure. Each directory may have zero or more zip files and zero or more directories.
I'm not asking for the script to be written just some pointers in the right direction.
Thanks for any help.