/zip-extractor

Extract multiple zips inside a nested directories

Primary LanguagePython

zip-extractor

Extract all the zips from the root directory having a nested directories.

Problem

  • Basically Extracting a zip is a easy task but the problem here is what if there is thousands of zips and how much deep we need to go inside a directory.

Recursive Approach

  • To Solve this problem i took a recursive approach. -Itrating over a directory and then using recursion to agiain itrate over the nested directory, this will take us deep to the directory and identify a zip to extract it.

How to use this Script?

  • In the main.py file Initiate ZipExtractor with the root directory file path inside the main function and run the script using command: python main.py

#DSA #Recursion