{"id":20105975,"url":"https://github.com/markthree/deno-backups","last_synced_at":"2025-08-13T23:08:57.532Z","repository":{"id":135417076,"uuid":"573796401","full_name":"markthree/deno-backups","owner":"markthree","description":"硬链接备份","archived":false,"fork":false,"pushed_at":"2022-12-07T11:45:00.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-22T16:41:01.725Z","etag":null,"topics":["daily-tasks","deno","fs","std"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/markthree.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":"2022-12-03T13:13:07.000Z","updated_at":"2022-12-07T12:06:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e911f6c7-44db-48e4-bb7b-ac36d0e77de3","html_url":"https://github.com/markthree/deno-backups","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markthree/deno-backups","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-backups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-backups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-backups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-backups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markthree","download_url":"https://codeload.github.com/markthree/deno-backups/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fdeno-backups/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270330595,"owners_count":24565816,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["daily-tasks","deno","fs","std"],"created_at":"2024-11-13T17:48:45.853Z","updated_at":"2025-08-13T23:08:57.512Z","avatar_url":"https://github.com/markthree.png","language":"TypeScript","readme":"# deno-backups\n\n由 `Deno` 实现的硬链接备份\n\n\u003cbr /\u003e\n\n## Motivation\n\n对某一重要文件夹数据进行跨目录备份。\n\n\u003cbr /\u003e\n\n## Stack\n\n- [Deno](https://deno.land/)\n\n\u003cbr /\u003e\n\n## Usage\n\n### 运行\n\n1. 监听\n\n```shell\ndeno task start:watch {目标目录} {备份目录}\n```\n\n2. 同步\n\n```shell\ndeno task start:sync {目标目录} {备份目录}\n```\n\n3. 静态同步\n\n\u003e 静态的同步，用于编译后给 windows 的每日计划任务，路径前往 [static-sync.ts](./static-sync.ts) 修改\n\n```shell\ndeno task start:static-sync\n```\n\n\u003cbr /\u003e\n\n### 编译\n\n1. 监听\n\n```shell\ndeno task compile:watch\n```\n\n2. 同步\n\n```shell\ndeno task compile:sync\n```\n\n3. 静态同步\n\n```shell\ndeno task compile:static-sync\n```\n\n\u003cbr /\u003e\n\n### 后台进程\n\n#### Windows\n\n##### 监听\n\n```shell\nstart /B deno task start:watch {目标目录} {备份目录}\n```\n\n\u003cbr /\u003e\n\n## License\n\nMade with [markthree](https://github.com/markthree)\n\nPublished under [MIT License](./LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fdeno-backups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkthree%2Fdeno-backups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fdeno-backups/lists"}