{"id":36491298,"url":"https://github.com/hitzhangjie/rm","last_synced_at":"2026-01-12T01:56:07.138Z","repository":{"id":57642745,"uuid":"215877955","full_name":"hitzhangjie/rm","owner":"hitzhangjie","description":"rm (rm-safe) is an alternative to shell /bin/rm, which supports `pin` or `unpin` operation to protect your data","archived":false,"fork":false,"pushed_at":"2020-06-26T08:01:29.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T13:34:30.423Z","etag":null,"topics":["filesystem","linux","macos","rm","rm-safe","unix","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hitzhangjie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-17T20:15:31.000Z","updated_at":"2024-06-20T13:34:30.424Z","dependencies_parsed_at":"2022-08-28T00:00:57.703Z","dependency_job_id":null,"html_url":"https://github.com/hitzhangjie/rm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hitzhangjie/rm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitzhangjie%2Frm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitzhangjie%2Frm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitzhangjie%2Frm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitzhangjie%2Frm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hitzhangjie","download_url":"https://codeload.github.com/hitzhangjie/rm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitzhangjie%2Frm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["filesystem","linux","macos","rm","rm-safe","unix","utility"],"created_at":"2026-01-12T01:56:06.531Z","updated_at":"2026-01-12T01:56:07.134Z","avatar_url":"https://github.com/hitzhangjie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rm\nrm (**rm-safe**) is an alternative to shell /bin/rm, which supports `pin` or `unpin` operation to protect your data.\n\n# commands\n\n- `rm help`, display help info\n- `rm pin`, pin directories to protect them   \n    `rm pin`: pin current directory   \n    `rm pin [target]...`: pin targets, if target is file, pin directory of target  \n    `rm pin -r [target]...`: pin targets recursively\n- `rm unpin`, unpin directories to unprotect them  \n    `rm unpin`: like `rm pin`  \n    `rm unpin [target]...`: like `rm unpin [target]`  \n    `rm unpin -r [target]...`: like `rm unpin -r [target]...`\n- `rm [options] [target]...`, absolutely works like shell `/bin/rm`, why? I use exec.Command('/bin/rm', args) to fullfill the deletion task.\n\n# installation\n\n```bash\ngo install github.com/hitzhangjie/rm\n```\n\n`go install` will install `rm` to `$GOPATH/bin`, please make sure `$GOPATH/bin` appears before `/bin, /usr/bin` in `$PATH`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitzhangjie%2Frm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhitzhangjie%2Frm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitzhangjie%2Frm/lists"}