
Anonymous
Not applicable
2014-04-15
04:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[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
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
354 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2014-04-15
10:19 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used a single directory for saving the extracted files from the first zip then it worked tx all
354 Views
5 Replies

Anonymous
Not applicable
2014-04-15
05:29 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
354 Views

Anonymous
Not applicable
2014-04-15
07:46 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the fast reply. I did the flow but getting the following error
354 Views

Anonymous
Not applicable
2014-04-15
07:50 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
as log said , you (your process) haven't got the permission to access file (or repository).
regards
laurent
as log said , you (your process) haven't got the permission to access file (or repository).
regards
laurent
354 Views

Anonymous
Not applicable
2014-04-15
10:19 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used a single directory for saving the extracted files from the first zip then it worked tx all
355 Views

Anonymous
Not applicable
2014-04-16
01:51 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
354 Views
