0
我不确定为什么这个rsync命令不同步?为什么此rsync命令不同步?
rsync -v -e [email protected]:/var/log/apache2/USAGE-log.txt splunk-rync-logs/log.txt
我看到这个返回后,该命令显示OK。
building file list ... done
-rw-r--r-- 0 2012/03/26 19:28:00 log.txt
sent 28 bytes received 12 bytes 80.00 bytes/sec
total size is 0 speedup is 0.00
但没有数据被添加到是应该被与远程文件同步本地文件:
ls -al
total 0
drwxr-xr-x 3 bd staff 102 Mar 26 19:28 .
drwxr-xr-x+ 54 bd staff 1836 Mar 26 19:28 ..
-rwxrwxrwx 1 bd staff 0 Mar 26 19:28 log.txt
有什么建议?
远程文件可能是空的? – sth 2012-03-27 02:46:48