{"id":23251301,"url":"https://github.com/renfei/shell","last_synced_at":"2026-04-29T00:34:57.932Z","repository":{"id":45918487,"uuid":"345870311","full_name":"renfei/shell","owner":"renfei","description":"我收藏的Shell小脚本","archived":false,"fork":false,"pushed_at":"2021-11-28T12:16:36.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T03:44:57.977Z","etag":null,"topics":["shell","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/renfei.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}},"created_at":"2021-03-09T03:23:13.000Z","updated_at":"2021-04-20T14:21:05.000Z","dependencies_parsed_at":"2022-09-03T02:11:23.341Z","dependency_job_id":null,"html_url":"https://github.com/renfei/shell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renfei/shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renfei","download_url":"https://codeload.github.com/renfei/shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renfei%2Fshell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["shell","shell-script"],"created_at":"2024-12-19T09:17:50.032Z","updated_at":"2026-04-29T00:34:57.918Z","avatar_url":"https://github.com/renfei.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell\n我收藏的Shell小脚本\n\n### sh/xsync.sh\nxsync - 自动化的 rsync，为了更方便的在 Linux 集群中同步文件，对 rsync 进行自动化脚本处理。建议先对集群内机器做秘钥无密码登陆，这样同步更方便。\n\n参数：文件名 机器名1 机器名2...\n#### 案例\n将 ```/opt/test/file``` 发送给机器 ```rf01``` ```rf02``` ```rf03``` ```rf04```：\n```bash\ncd /opt/test/\n./xsync.sh file rf01 rf02 rf03 rf04\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenfei%2Fshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenfei%2Fshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenfei%2Fshell/lists"}