Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Zip Extract only particular folder #258

Open
M4ntic opened this issue May 23, 2022 · 0 comments
Open

Zip Extract only particular folder #258

M4ntic opened this issue May 23, 2022 · 0 comments

Comments

@M4ntic
Copy link

M4ntic commented May 23, 2022

I have a case, where I need to extract Zip file with C# Ionic.zip library. Zip file contains multiple folders and I want to extract and copy every folder exept the root folder to specific destination.

Zip file named as Example.zip and directory structure will be like

Root Directory\Sub Directory 1\file a, file b
Root Directory\Sub Directory 2\file c, file d
And I want to copy every Sub Directory in a Temp folder so it would look like :

  • Temp\Sub Directory 1\file a, file b
  • Temp\Sub Directory 2\file c, file d
    But I cant do it without taking Root Directory with it

Temp\Root Directory\Sub Directory 1...
Do you have any idea how I can do it ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant