Need help working with zip files
I am trying to process a bunch of zip files (a couple of hundred), each has a formatted name (hopefully correct) containing author and title, and in the zip file has a text file (some of the newer ones have a html but most is just a .txt file) and some have a .jpg or a .gif file. I would like to parse them out to be read by my nook/kindle. I would like to put title / author / chapter etc and put the cover on there if it has one. I can see the zip file read it in, but none of the formatting etc is in there.
I guess what I need to ask is
1) where to begin
2) if the existing filters/plug ins can do this
3) if not where to start coding this plugin.
4) how to automate (batch file/script file?)
I am running on a Mac, if that makes a difference.