答案1
你可以试试minio 服务器,它将适合您的使用情况。
在一台机器上安装 minio 服务器后,使用minio 客户端又名 mc
mc 执行以下命令
ls List files and folders.
mb Make a bucket or folder.
cat Display contents of a file.
pipe Write contents of stdin to one or more targets. When no target is specified, it writes to stdout.
share Generate URL for sharing.
cp Copy one or more objects to a target.
mirror Mirror folders recursively from a single source to many destinations.
diff Compute differences between two folders.
rm Remove file or bucket [WARNING: Use with care].
access Manage bucket access permissions.
session Manage saved sessions of cp and mirror operations.
config Manage configuration file.
update Check for a new software update.
version Print version.
您可以使用“mc mirror”命令并镜像特定目录。
希望能帮助到你。
答案2
最简单的解决方案可能是设置 Windows 计划任务,Robocopy /MIR
每隔几分钟左右运行一次作业。