How to unzip all folder/subfolder and files in path in one go

Is there any way to unzip folder/sub folder and files in path in one go
For example
In path , multiple folders are available , some are zipped & some are not
Zip folder also contains zipped subfolder & zipped files

Want to perform unzip for file/folder if it is zipped & copy to another folder including not zipped file/folder.

Hi @hkanjaria

Use for each file in folder and checkif extension is zip then perform unzip else continue

Cheers

Will it work for zipped folder in zipped folder?

Hello @hkanjaria
Use For each file in the folder activity and Extract/Unzip activity

For more, Check this Video

Hi @hkanjaria

Yes it will…After unzipping do a check of zip and call the unzip xaml again…use a while loop till you don’t find a zip so that the loop continues till zip files/folders are there

cheers

Not able to configure at my end , it will be greater help if you can post screen shot of flow.

@hkanjaria
Did you check this?

I think that it will work for files only , I want to unzip folders , subfolders & files. I created similar workflow but it is not working.

Hi @hkanjaria

Try this

UnzipActions.xaml (10.3 KB)
Unzip.xaml (7.1 KB)

So basically you have to call the same xaml again if you want to unzip by checking the zip folders again… if you want more recursion then change it accordingly

cheers

@hkanjaria
But it Works For me

Refer to this Xaml File
Forum_ForEcahFileZipFolder.zip (134.1 KB)

image

Sorry but not able to open .xaml files as I have Studio X enterprise version & files may be created in Studio.

Hi @hkanjaria

Yes thats true…Try following the screenshots

First xaml (unzip)


Second xaml(unzipActions)



Variables

Arguments

cheers

1 Like