Skip to content

markthree/deno-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-backups

Deno 实现的硬链接备份


Motivation

对某一重要文件夹数据进行跨目录备份。


Stack


Usage

运行

  1. 监听
deno task start:watch {目标目录} {备份目录}
  1. 同步
deno task start:sync {目标目录} {备份目录}
  1. 静态同步

静态的同步,用于编译后给 windows 的每日计划任务,路径前往 static-sync.ts 修改

deno task start:static-sync

编译

  1. 监听
deno task compile:watch
  1. 同步
deno task compile:sync
  1. 静态同步
deno task compile:static-sync

后台进程

Windows

监听
start /B deno task start:watch {目标目录} {备份目录}

License

Made with markthree

Published under MIT License.