我读过关于rsync的文章,但我想问一问如何通过rsync执行以下操作:
我在不同的机器(UNIX-AIX)中有两个文件,并且具有相同的名称。
server1 : ..../file.txt
server2 : ..../file.txt
我想在两个服务器中应用以下内容,以确保每个服务器上都有最新版本的file.txt。
server1:
if (mod-time[file.txt (on server 1] > mod-time[file.txt (on server2)] )
{
update file.txt (on server 2 ) to become as fil
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 936 file(s) to forward-jetify. Using 12 workers...
info JS server already running.
info Installing the app...
> Task :react-native-gradle-plugin:compileKotlin FAILED
'