{"id":15862090,"url":"https://github.com/afeiship/safe-rename","last_synced_at":"2025-07-23T12:34:17.339Z","repository":{"id":57123017,"uuid":"315338200","full_name":"afeiship/safe-rename","owner":"afeiship","description":"Rename file or dictionary use cli.","archived":false,"fork":false,"pushed_at":"2021-09-17T01:50:39.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T07:04:17.003Z","etag":null,"topics":["cli","filename","mv","rename","safe","sanitize","sfmv"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-23T14:19:08.000Z","updated_at":"2023-02-17T01:02:33.000Z","dependencies_parsed_at":"2022-08-25T17:11:18.495Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/safe-rename","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/safe-rename","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsafe-rename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsafe-rename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsafe-rename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsafe-rename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/safe-rename/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fsafe-rename/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266680272,"owners_count":23967791,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cli","filename","mv","rename","safe","sanitize","sfmv"],"created_at":"2024-10-05T22:24:22.471Z","updated_at":"2025-07-23T12:34:17.305Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# safe-rename\n\u003e Rename file or dictionary use cli.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n![snapshot](https://tva1.sinaimg.cn/large/0081Kckwgy1gl071bjiwmj30v80f84qp.jpg)\n\n## installation\n```shell\nnpm install @jswork/safe-rename\n```\n\n## usage\n~~~\nUsage: safe-rename [options]\n\nOptions:\n  -V, --version           output the version number\n  -p, --pattern \u003cstring\u003e  glob pattern for gobby('*.doc,*.pdf').\n  -c, --char \u003cstring\u003e     replacement char (default is: _). (default: \"_\")\n  -s, --strip             strip repeat replacement char. (default: true)\n  -f, --filters \u003clist\u003e    Process filename one by one.\n  -d, --debug             only show cmds, but not clean.\n  -h, --help              display help for command\n~~~\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/safe-rename/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/safe-rename\n[version-url]: https://npmjs.org/package/@jswork/safe-rename\n\n[license-image]: https://img.shields.io/npm/l/@jswork/safe-rename\n[license-url]: https://github.com/afeiship/safe-rename/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/safe-rename\n[size-url]: https://github.com/afeiship/safe-rename/blob/master/dist/safe-rename.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/safe-rename\n[download-url]: https://www.npmjs.com/package/@jswork/safe-rename\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fsafe-rename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fsafe-rename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fsafe-rename/lists"}