{"id":19683790,"url":"https://github.com/hecdelatorre/rar-extraction-script","last_synced_at":"2026-06-29T04:31:46.299Z","repository":{"id":217980242,"uuid":"745275670","full_name":"hecdelatorre/RAR-Extraction-Script","owner":"hecdelatorre","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-12T04:00:54.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T07:59:08.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hecdelatorre.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-01-19T01:34:06.000Z","updated_at":"2024-01-19T01:35:54.000Z","dependencies_parsed_at":"2025-02-27T07:37:21.604Z","dependency_job_id":"d971be52-79ce-447f-a2d6-8086b06569dc","html_url":"https://github.com/hecdelatorre/RAR-Extraction-Script","commit_stats":null,"previous_names":["hecdelatorre/rar-extraction-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hecdelatorre/RAR-Extraction-Script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecdelatorre%2FRAR-Extraction-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecdelatorre%2FRAR-Extraction-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecdelatorre%2FRAR-Extraction-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecdelatorre%2FRAR-Extraction-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hecdelatorre","download_url":"https://codeload.github.com/hecdelatorre/RAR-Extraction-Script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hecdelatorre%2FRAR-Extraction-Script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34913586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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":[],"created_at":"2024-11-11T18:15:31.504Z","updated_at":"2026-06-29T04:31:46.283Z","avatar_url":"https://github.com/hecdelatorre.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RAR Extraction Script\n\nThis bash script automates the extraction of RAR archives and their subsequent contents in a structured manner. It also includes instructions for installing the `rar` and `unrar` commands.\n\nMake a synchronous version that decompresses one file at a time and an asynchronous version that decompresses several files at once.\n\n## Prerequisites\n\nBefore using the script, ensure that the `rar` and `unrar` commands are installed on your system. Follow the steps below to install these commands:\n\n### For Bash or Zsh Users:\n\n```bash\ncurl -fsSL https://www.win-rar.com/fileadmin/winrar-versions/rarlinux-x64-624.tar.gz | sudo tar zxvf - -C /opt\necho 'export PATH=$PATH:/opt/rar' \u003e\u003e ~/.bashrc  # For Bash users\n# or\necho 'export PATH=$PATH:/opt/rar' \u003e\u003e ~/.zshrc   # For Zsh users\n```\n\nNote: Make sure to check [WinRAR's official website](https://www.win-rar.com/download.html) for the most recent version.\n\n## Usage\n\n1. Ensure the script has execute permissions:\n   \n   ```bash\n   chmod +x rar-extraction-synchronous.sh\n   ```\n   \n   or\n   \n   ```bash\n   chmod +x rar-extraction-asynchronous.sh\n   ```\n\n2. Run the script either by cloning the repository and executing:\n   \n   ```bash\n   chmod +x rar-extraction-synchronous.sh\n   ```\n   \n   or\n   \n   ```bash\n   chmod +x rar-extraction-asynchronous.sh\n   ```\n\n   Or without cloning the repository using the following command:\n\n```bash\nbash -c \"$(curl -fsSL https://codeberg.org/hecdelatorre/rar-extraction-script/raw/branch/main/rar-extraction-synchronous.sh)\"\n```\n\n```bash\nbash -c \"$(curl -fsSL https://codeberg.org/hecdelatorre/rar-extraction-script/raw/branch/main/rar-extraction-asynchronous.sh)\"\n```\n\n3. The script will prompt you for the directory where it will be executed.\n\n4. It will then gather RAR files, create a \"Contents\" folder, extract RAR files into it, and finally unzip each RAR file in its respective folder.\n\n## Important\n\n- The script uses the `rar` and `unrar` commands, which may not be available in the default repositories.\n- Choose the appropriate command for your shell (Bash or Zsh) and update the corresponding configuration file.\n\nFeel free to customize the script to suit your needs!\n\n## License\n\nThis script is released under the [GPL v3 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecdelatorre%2Frar-extraction-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhecdelatorre%2Frar-extraction-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhecdelatorre%2Frar-extraction-script/lists"}