{"id":15357703,"url":"https://github.com/oaphi/rrename","last_synced_at":"2025-11-07T12:30:37.559Z","repository":{"id":104179051,"uuid":"336160085","full_name":"Oaphi/rrename","owner":"Oaphi","description":"Simple recursive file renamer","archived":false,"fork":false,"pushed_at":"2021-02-07T22:27:22.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T21:30:28.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Oaphi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-05T04:07:51.000Z","updated_at":"2021-02-07T22:27:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"36571850-e2f8-4eab-8b53-b58eec0159be","html_url":"https://github.com/Oaphi/rrename","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"fbe3e231387acb48452343748510633b48b45506"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaphi%2Frrename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaphi%2Frrename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaphi%2Frrename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaphi%2Frrename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oaphi","download_url":"https://codeload.github.com/Oaphi/rrename/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239529646,"owners_count":19654150,"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":[],"created_at":"2024-10-01T12:38:12.202Z","updated_at":"2025-11-07T12:30:37.506Z","avatar_url":"https://github.com/Oaphi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renamer\r\n\r\nQuick utility script to recursively rename all files matching a pattern.\r\n\r\n# Usage\r\n\r\nInitial version is launched directly from TypeScript source and thus has `typescript` and `ts-node` bundled in (subject to change).\r\n\r\nCurrently the module is run as a CLI program, there is no exposed API for use in scripts.\r\n\r\n```shell\r\n$ ts-node index.ts \\\r\n    \"\u003cpath to start from\u003e\" \\\r\n    \"\u003cRegExp string for renaming\u003e\" \\\r\n    \"[RegExp string for files to include]\" \\\r\n    \"[RegExp string for files to omit]\"\r\n```\r\n\r\nThe following example renames all `.tsx` files starting from the current working directory into `.ts` except when the file is starting with `index`:\r\n\r\n```shell\r\n$ ts-node index.ts . \"\\$1.ts\" \"(.*)\\\\.tsx\" \"index*\"\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaphi%2Frrename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foaphi%2Frrename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foaphi%2Frrename/lists"}