[resolved] unzip multiple folder and iterating to unzip files inside the folder

One Star

[resolved] unzip multiple folder and iterating to unzip files inside the folder

I have a folder with zip files. The zip files contains multiple .gz file. How should i create a flow wher in it first unzips the initial zip and then we have to iterate thru the inner .gz files and unzip that
Flow
Folder/exampl1.zip -- 11.gz
-- 12.gz
-- 13.gz
Folder/exampl2.zip -- 21.gz
-- 22.gz
-- 23.gz
I want to extract folders as follows
folder/exampl1/11.gz
folder/exampl1/12.gz
folder/exampl1/13.gz
folder/exampl2/21.gz
folder/exampl2/21.gz
folder/exampl2/21.gz
Then iterate into
folder/exampl1/11.gz and unzip this
folder/exampl1/12.gz and unzip this
folder/exampl1/13.gz and unzip this
folder/exampl1/21.gz and unzip this
folder/exampl1/22.gz and unzip this
folder/exampl1/23.gz and unzip this

Accepted Solutions
One Star

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

I used a single directory for saving the extracted files from the first zip then it worked tx all Smiley Happy

All Replies
Moderator

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

Hi,
For your scenario, you can design your job as:tFileList-->tFileUnarchive
|
onSubjobOK
|
tFileList_2-->tFileUnarchive_2
Please take a look at my screenshots for details
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

Thanks for the fast reply. I did the flow but getting the following error
Seventeen Stars

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

hi,
as log said , you (your process) haven't got the permission to access file (or repository).
regards
laurent
One Star

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

I used a single directory for saving the extracted files from the first zip then it worked tx all Smiley Happy
Moderator

Re: [resolved] unzip multiple folder and iterating to unzip files inside the folder

Hi,
Glad you could solve the issue. Could you please click the "Set this topic as resolved" link which is right underneath your initial post? This way, other users will be informed that this thread has been resolved.
Many thanks
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.