Not the best description, i know, but i need some help here
I have a script that pulls out attachments, unzips gz files, which is fine, but it also pulls out regular zip archives. I figured out how to unzip those, my problem is the contents of the zip. it contains 4 files, all with different names (below)
The only file i have to import is the last one (also happens to be the largest in size).
Is there some way that i can just extract that one file and then delete the entire archive? I have a feeling i’ll have to extract all the files into a folder, then check the size on each one, then delete the ones i don’t want, then move that one file back into another folder for to be imported.