【问题标题】:How to sync windows server folders with a AIX server using script?如何使用脚本将 Windows 服务器文件夹与 AIX 服务器同步?
【发布时间】:2011-11-02 19:57:44
【问题描述】:

每天我都想将 Windows 服务器中的文件和文件夹与 AIX 服务器同步,反之亦然。有没有人建议我,我如何编写一个 shell 或 bat 脚本来实现这一点?

【问题讨论】:

标签: windows shell scripting batch-file aix


【解决方案1】:

我建议通过 ssh 进行 rsync。这将使您的 Windows 服务器成为启动所有事务的“客户端”。您必须在 Windows 服务器上同时安装 rsync 和 ssh,但这使事情变得如此简单,值得付出努力。我不确定服务器上是否需要 rsync,如果需要,是否可以从 IBM for AIX 获得它,或者您是否必须自己做。同样,代码已经写好了,剩下的就是“简单”的部分了。

【讨论】:

    猜你喜欢
    • 2023-02-08
    • 2012-09-25
    • 1970-01-01
    • 2019-01-16
    • 1970-01-01
    • 1970-01-01
    • 2023-04-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多