{"id":23576109,"url":"https://github.com/goggle/listrars","last_synced_at":"2025-05-16T13:10:59.268Z","repository":{"id":57607421,"uuid":"84945467","full_name":"goggle/listrars","owner":"goggle","description":"List all the rar files in a directory, but only list the first part in case of multi part rar files.","archived":false,"fork":false,"pushed_at":"2017-03-15T11:28:22.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T23:39:50.134Z","etag":null,"topics":["command-line-tool","list-files","rar"],"latest_commit_sha":null,"homepage":"","language":"Go","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/goggle.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}},"created_at":"2017-03-14T12:17:11.000Z","updated_at":"2017-03-15T11:26:22.000Z","dependencies_parsed_at":"2022-08-30T00:00:57.648Z","dependency_job_id":null,"html_url":"https://github.com/goggle/listrars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goggle%2Flistrars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goggle%2Flistrars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goggle%2Flistrars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goggle%2Flistrars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goggle","download_url":"https://codeload.github.com/goggle/listrars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535822,"owners_count":22087399,"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","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":["command-line-tool","list-files","rar"],"created_at":"2024-12-26T21:12:44.704Z","updated_at":"2025-05-16T13:10:59.248Z","avatar_url":"https://github.com/goggle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Listrars\n========\n\nListrars lists the rar files in a given directory, but only shows the first part in case of multipart rar files.\n\nUsage\n-----\n\n```\nUsage:\nlistrars [PATH]\n\nOptions:\n-h --help     Show this screen.\n--version     Show version.\n```\n\nExample\n-------\nLet the directory `/home/user/rfiles` contain the following files:\n```\nhello_world.c\nphotos_paris_2017.rar\nbig_data.part001.rar\nbig_data.part002.rar\nbig_data.part003.rar\nbig_data.part004.rar\n```\nBy running `listrars` in this directory or `listrars /home/user/rfiles` in an arbitrary directory, we get this output:\n```\nbig_data.part001.rar\nphotos_paris_2017.rar\n```\nThis can now be used to extract all the rar files in `/home/user/rfiles` by using `xargs` and `unrar`:\n```\nlistrars | xargs -I{} unrar e {}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoggle%2Flistrars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoggle%2Flistrars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoggle%2Flistrars/lists"}