{"id":35164452,"url":"https://github.com/kuliantnt/my_rename","last_synced_at":"2026-04-26T01:32:13.509Z","repository":{"id":312691539,"uuid":"424853210","full_name":"kuliantnt/my_rename","owner":"kuliantnt","description":"一个go语言编写的，简单改名程序","archived":false,"fork":false,"pushed_at":"2022-01-19T03:17:43.000Z","size":3296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-26T01:32:07.007Z","etag":null,"topics":["golang","yaml"],"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/kuliantnt.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-05T06:46:52.000Z","updated_at":"2022-04-18T05:48:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c79c08a-452f-4fd1-9c88-e18b5a27ff2f","html_url":"https://github.com/kuliantnt/my_rename","commit_stats":null,"previous_names":["kuliantnt/my_rename"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kuliantnt/my_rename","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuliantnt%2Fmy_rename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuliantnt%2Fmy_rename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuliantnt%2Fmy_rename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuliantnt%2Fmy_rename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuliantnt","download_url":"https://codeload.github.com/kuliantnt/my_rename/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuliantnt%2Fmy_rename/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32283294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["golang","yaml"],"created_at":"2025-12-28T19:06:51.135Z","updated_at":"2026-04-26T01:32:13.505Z","avatar_url":"https://github.com/kuliantnt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# my_rename\n\n## 一、项目介绍\n\n由于`linux`自带的`rename`不够强大，使用`Golang`编写一个小工具。\n\n将执行目录中的文件，按照文件修改日期进行批量重命名。\n\n将前缀为`{{ 前缀 }}`扩展名为`{{ 扩展名 }}`的文件，批量命名为\n\n```yaml\n{{ 前缀 }}yyyyMMdd-hhmm.{{ 扩展名 }}\n```\n\n## 二、使用方法\n\n### 1. 编写配置文件\n\n编写配置文件 `conf.yml` 当然可以自己定义`yml`文件\n\n```yaml\n# vim /data/sh/conf.yml or {{ confFile }}\npath: {{ 执行目录 }}\nfileExtensions: {{ .扩展名 }} #记得前面要加.\nprefixName: {{ 前缀 }}\n```\n\n### 2. 执行\n\n```shell\nchmod +x rename\n./rename\n\n# 如果是自定义的conf文件\n\n./rename -path {{ confFile }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuliantnt%2Fmy_rename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuliantnt%2Fmy_rename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuliantnt%2Fmy_rename/lists"}