{"id":17632890,"url":"https://github.com/jamjamjon/renify","last_synced_at":"2025-05-05T22:37:31.894Z","repository":{"id":220528759,"uuid":"751879446","full_name":"jamjamjon/renify","owner":"jamjamjon","description":"A simple cli tool for batch renaming files and folders, written in Rust.","archived":false,"fork":false,"pushed_at":"2024-05-20T06:53:10.000Z","size":3431,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T06:24:16.842Z","etag":null,"topics":["rename","rename-files","renamer"],"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/jamjamjon.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-02-02T14:27:48.000Z","updated_at":"2024-05-20T06:52:36.000Z","dependencies_parsed_at":"2024-10-23T07:19:23.673Z","dependency_job_id":"9b4088f7-271f-46c0-8ef2-4eca0eaa06e6","html_url":"https://github.com/jamjamjon/renify","commit_stats":null,"previous_names":["jamjamjon/renify"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamjamjon%2Frenify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamjamjon%2Frenify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamjamjon%2Frenify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamjamjon%2Frenify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamjamjon","download_url":"https://codeload.github.com/jamjamjon/renify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252588361,"owners_count":21772665,"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":["rename","rename-files","renamer"],"created_at":"2024-10-23T01:46:16.156Z","updated_at":"2025-05-05T22:37:31.876Z","avatar_url":"https://github.com/jamjamjon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renify\nA simple cli tool for batch renaming files and folders, written in Rust.\n\n- 🚀 written in Rust, fast.\n- 🎉 Available on PyPi, install via `pip`.\n- 🧩 `Windows` `Linux` `MacOS` support.\n- 📔 `files` and `folders` support.\n- 🎁 **7** renaming methods provided.\n- ⚠️ `symlinks` are `unsupported` for now!\n\n\n\n![Example GIF](assets/demo.gif)\n\n# Installation\n```\npip install renify\n# or\ncargo install renify\n```\n\n# Usage\n### Renaming - 重命名\nFor those new to Renify, consider using the following code for **interactive mode**:\n```bash\nrenify -i \u003cFile or Folder Path\u003e\n```\n\nOr you can use:\n```bash\nrenify -i \u003cFile or Folder Path\u003e --target file --method znum --nbits 5 --recursive false --start 1 -y\n```\n\n### Rolling back - 退回上一次操作\nYou can revert to the previous state of the modifications by using:\n```bash\nrenify -i . --roll\n```\n\n### Help \u0026 options\nYou can get help from:\n```bash\nrenify --help\n```\n\n# Methods provided\n- [x] **random:** Sample a u8, uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. `9AFoh, wGRLC, knj9y, ...`\n- [x] **uuid:** Uuid4. `de2662a9-fb02-4686-b556-0aca36c0e087`\n- [x] **time:** Local time now. `2023-03-04-22-26-42-222655555`\n- [x] **num:**  Numbers start from `--start` (1 by default). `1, 2, 3, ...`\n- [x] **znum:** Numbers with left zero padding start from `--start` (1 by default). `001, 002, 003, ...`\n- [x] **prefix:** Add a prefix string to the file stem, along with a delimiter. `X.jpg =\u003e [--with][--delimiter]X.jpg`\n- [x] **append:** Append a delimiter and a string after the file stem. `X.jpg =\u003e X[--delimiter][--with].jpg`\n\n# Note that\nRenify will set `--indiscriminate false` to make sure that the file stems stay consistent. This means that if you have files with the same stems in the same folder, they'll still look the same even after you rename them. Certainly, you can use `--indiscriminate` to treat each file as an independent entity without considering its relationship with other files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamjamjon%2Frenify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamjamjon%2Frenify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamjamjon%2Frenify/lists"}