{"id":17134569,"url":"https://github.com/tiagocavalcante/extract-folder","last_synced_at":"2025-08-28T16:50:10.382Z","repository":{"id":227275551,"uuid":"753852285","full_name":"TiagoCavalcante/extract-folder","owner":"TiagoCavalcante","description":"Automates the extraction of compressed files (which may not have the correct extension) within a folder","archived":false,"fork":false,"pushed_at":"2024-04-19T22:02:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T06:16:58.429Z","etag":null,"topics":["script","unzip","wayback-machine"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TiagoCavalcante.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T22:55:12.000Z","updated_at":"2024-04-19T22:02:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa0d67e1-e1bc-4feb-941a-9c19a902a8c7","html_url":"https://github.com/TiagoCavalcante/extract-folder","commit_stats":null,"previous_names":["tiagocavalcante/extract-folder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TiagoCavalcante/extract-folder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2Fextract-folder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2Fextract-folder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2Fextract-folder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2Fextract-folder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TiagoCavalcante","download_url":"https://codeload.github.com/TiagoCavalcante/extract-folder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiagoCavalcante%2Fextract-folder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272526572,"owners_count":24949832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["script","unzip","wayback-machine"],"created_at":"2024-10-14T19:45:08.059Z","updated_at":"2025-08-28T16:50:10.336Z","avatar_url":"https://github.com/TiagoCavalcante.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compressed File Extractor\n\nThis project provides a Python script that automates the extraction of compressed files (which may not have the correct extension) within a given directory. It supports both gzip and zip formats, making it particularly useful for processing archives, such as those downloaded from the Internet Archive via the `wayback_machine_downloader`.\n\n## Prerequisites\n\nBefore running the script, ensure you have Python 3 installed on your system. Additionally, the script uses the `magic` library for MIME type identification, so make sure to install this dependency:\n\n```sh\npython3 -m pip install python-magic\n```\n\n## Installation\n\nNo installation is needed. Just download the script file or clone this repository:\n```sh\ngit clone https://github.com/TiagoCavalcante/extract-folder\n```\n\n## Usage\n\nTo use the script, navigate to the directory containing the script in your terminal and execute the following command:\n\n```sh\npython3 script.py \u003cfolder_path\u003e\n```\n\nReplace \u003cfolder_path\u003e with the path to the directory containing the compressed files you wish to extract.\n\n## Additional Information\n\nTo download files from a site in the Internet Archive, you can use the wayback_machine_downloader with the following commands:\n\n```sh\nsudo apt install ruby-rubygems\nsudo gem install wayback_machine_downloader\nwayback_machine_downloader -a URL -p 1000 -s\n```\nReplace `URL` with the target website's URL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagocavalcante%2Fextract-folder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagocavalcante%2Fextract-folder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagocavalcante%2Fextract-folder/lists"}