{"id":26555219,"url":"https://github.com/sheepla/renedit","last_synced_at":"2025-06-26T02:04:45.761Z","repository":{"id":283087118,"uuid":"950546995","full_name":"sheepla/renedit","owner":"sheepla","description":"🚀 A command line bulk file renaming tool that works in concert with your favorite text editors","archived":false,"fork":false,"pushed_at":"2025-03-19T05:55:54.000Z","size":12,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T06:18:13.269Z","etag":null,"topics":["batch-rename","bulk-rename","cli","cli-tool","rename","rename-tool","rust","utility"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/sheepla.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":"2025-03-18T10:30:30.000Z","updated_at":"2025-04-07T08:24:57.000Z","dependencies_parsed_at":"2025-03-18T14:29:52.156Z","dependency_job_id":"e8f6f979-14d4-4d7f-bbac-ad874fb22b6d","html_url":"https://github.com/sheepla/renedit","commit_stats":null,"previous_names":["sheepla/renedit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sheepla/renedit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Frenedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Frenedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Frenedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Frenedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sheepla","download_url":"https://codeload.github.com/sheepla/renedit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sheepla%2Frenedit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261984649,"owners_count":23240303,"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":["batch-rename","bulk-rename","cli","cli-tool","rename","rename-tool","rust","utility"],"created_at":"2025-03-22T10:25:27.782Z","updated_at":"2025-06-26T02:04:45.638Z","avatar_url":"https://github.com/sheepla.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🚀 renedit\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nA simple and efficient command line bulk file renaming tool that works in concert with your favorite text editors\n\n\u003c/div\u003e\n\n## Demo\n\n\n[Demo.webm](https://github.com/user-attachments/assets/2d89b984-bd6a-4eb0-be7a-f8365d8b5fc1)\n\n## Features\n\n- Efficient batch renaming workflow: 💨 Run → 🗒️Edit → 💾 Save → ✨ Rename\n- Can invoke your favorite text editors to determine the name of the file to be changed. e.g. Vim, Emacs, nano, etc. (`-e`, `--editor` option or `$EDITOR` environment variable)\n- Fail-safe: **dry-run** mode by default (run by `-x`, `--execute` option)\n\n## Usage\n\nThe arguments are as follows:\n\n```\nUsage: renedit [OPTIONS] --editor \u003cEDITOR\u003e \u003cPATH\u003e...\n\nArguments:\n  \u003cPATH\u003e...  Target directories or files\n\nOptions:\n  -e, --editor \u003cEDITOR\u003e                    Command of text editor [env: EDITOR=nvim]\n  -d, --definition-file \u003cDEFINITION_FILE\u003e  Path to definition file\n  -x, --execute                            Execute renaming (disable DRY-RUN mode)\n  -y, --yes                                Allow all rename confirmations\n  -h, --help                               Print help\n```\n\n1. 💨 **Run**: Run this command like: `renedit --editor nvim path/to/files --execute`\n1. 🗒️**Edit**: When the command is invoked, the editor is automatically launched. A text file with the path to the file will open, edit it to the name you want to change\n1. 💾 **Save**: Overwrites the file and exits. For example, in Vim/Neovim, type `:wq`.\n1. ✨ **Rename**: \n    - If the `-x`, `--execute` option is specified, you can batch rename to the changed name when you exit the editor. If not specified, the paths before and after the rename will be displayed.\n    - When renaming, type `y`, `yes` or `Enter` at the confirmation prompt. \n    - If you specify the `-y` or `--yes` option at startup, you can skip the confirmation and execute the renaming at once.\n\n\n## Installation\n\nTo build from source, clone this repository and run `cargo install --path=.`\n\n## License\n\nMIT\n\n## Thanks\n\nThis tool was inspired by [itchyny/mmv](https://github.com/itchyny/mmv) written in Go, Thanks!\n\n## Author\n\n[sheepla](https://github.com/sheepla)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Frenedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheepla%2Frenedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepla%2Frenedit/lists"}