{"id":168341,"date":"2020-01-08T09:06:33","date_gmt":"2020-01-08T01:06:33","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=168341"},"modified":"2019-12-30T11:09:05","modified_gmt":"2019-12-30T03:09:05","slug":"rsync-file-use","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rsync-file-use.html","title":{"rendered":"\u5982\u4f55\u7528Rsync\u5b9e\u73b0\u6587\u4ef6\u7684\u540c\u6b65"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | sync\u548cscp\u5728\u6587\u4ef6\u5939\u5747\u4e0d\u5b58\u5728\u65f6\uff0c\u6267\u884c\u65f6\u95f4\u76f8\u5dee\u4e0d\u5927\uff0c\u4f46\u662f\u6587\u4ef6\u5939\u5b58\u5728\u7684\u60c5\u51b5\u4e0b\u5dee\u5f02\u5f88\u5927\u3002\u539f\u56e0\u662fscp\u662f\u590d\u5236\uff1a\u82e5mas2\u6587\u4ef6\u4e0d\u5b58\u5728\u5219\u65b0\u5efa\uff0c\u82e5\u5b58\u5728\u5219\u8986\u76d6\uff0c\u82e5mas2\u4e0a\u6709\u800cDashboard\u4e3b\u673a\u6ca1\u6709\uff0c\u5219\u4e0d\u6539\u53d8\u3002\u53ef\u4ee5\u7406\u89e3\u4e3ascp\u4e3a\u201c\u590d\u5236\u201d\u3002\u800crsync\u5219\u5728\u6587\u4ef6\u5728\u5b58\u5728\u4e8e\u4e24\u4e3b\u673a\u65f6\uff0c\u6bd4\u8f83\u4e24\u6587\u4ef6\u662f\u591f\u76f8\u540c\uff0c\u76f8\u540c\u7684\u8bdd\uff0c\u5c31\u4ec0\u4e48\u90fd\u4e0d\u505a\uff0c\u82e5\u5b58\u5728\u5dee\u5f02\u5c31\u76f4\u63a5\u66f4\u65b0\u3002 \n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u6545\u4e8b\u80cc\u666f\uff1a\u6211\u4eec\u516c\u53f8\u662f\u505a\u65b0\u96f6\u552e\u7684\uff0c\u9700\u8981\u5bf9\u53d1\u5e03\u7684\u6bcf\u53f0\u673a\u5668\u8fdb\u884c\u6587\u4ef6\u7684\u540c\u6b65\u66f4\u65b0\uff0c\u6240\u4ee5\u6211\u8fd9\u91cc\u505a\u4e86\u4e00\u4e2a\u5c0f\u5c0f\u7684\u8c03\u7814<\/p>\n \u6280\u672f\u8c03\u7814\uff1aLinux\u4e4b\u95f4\u540c\u6b65\u6587\u4ef6\u6709\u4e24\u79cd\u65b9\u5f0frsync\u4e0escp\u3002<\/p>\n sync\u548cscp\u5728\u6587\u4ef6\u5939\u5747\u4e0d\u5b58\u5728\u65f6\uff0c\u6267\u884c\u65f6\u95f4\u76f8\u5dee\u4e0d\u5927\uff0c\u4f46\u662f\u6587\u4ef6\u5939\u5b58\u5728\u7684\u60c5\u51b5\u4e0b\u5dee\u5f02\u5f88\u5927\u3002\u539f\u56e0\u662fscp\u662f\u590d\u5236\uff1a\u82e5mas2\u6587\u4ef6\u4e0d\u5b58\u5728\u5219\u65b0\u5efa\uff0c\u82e5\u5b58\u5728\u5219\u8986\u76d6\uff0c\u82e5mas2\u4e0a\u6709\u800cDashboard\u4e3b\u673a\u6ca1\u6709\uff0c\u5219\u4e0d\u6539\u53d8\u3002\u53ef\u4ee5\u7406\u89e3\u4e3ascp\u4e3a\u201c\u590d\u5236\u201d\u3002\u800crsync\u5219\u5728\u6587\u4ef6\u5728\u5b58\u5728\u4e8e\u4e24\u4e3b\u673a\u65f6\uff0c\u6bd4\u8f83\u4e24\u6587\u4ef6\u662f\u591f\u76f8\u540c\uff0c\u76f8\u540c\u7684\u8bdd\uff0c\u5c31\u4ec0\u4e48\u90fd\u4e0d\u505a\uff0c\u82e5\u5b58\u5728\u5dee\u5f02\u5c31\u76f4\u63a5\u66f4\u65b0\u3002<\/p>\n \u7b80\u5355\u7684\u8bf4rsync\u53ea\u5bf9\u5dee\u5f02\u6587\u4ef6\u505a\u66f4\u65b0\u3002<\/p>\n #### Rsync\u4ecb\u7ecd<\/strong><\/div>\n rsync\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u5907\u4efd\u5de5\u5177\uff0c\u53ef\u4ee5\u518d\u4e0d\u540c\u4e3b\u673a\u4e4b\u95f4\u8fdb\u884c\u540c\u6b65\uff0c\u5b9e\u73b0\u5168\u91cf\u548c\u589e\u91cf\u5907\u4efd\uff0c\u9002\u7528\u4e8e\u96c6\u4e2d\u5907\u4efd\u6216\u5f02\u5730\u5907\u4efd\u7b49\u5e94\u7528\u573a\u666f\u3002 #### Rsync\u4f20\u8f93\u6a21\u5f0f<\/strong><\/div>\n - \u672c\u5730\u6a21\u5f0f #### Rsync\u547d\u4ee4\u53c2\u6570<\/strong><\/div>\n -a \u590d\u5236\u5404\u79cd\u7c7b\u578b\u7684\u6587\u4ef6\uff08\u76f8\u5f53\u4e8e-tropgDl\uff09 #### \u5b89\u88c5rsync<\/strong><\/div>\n `sudo apt-get install`\u4e00\u822c\u673a\u5668\u597d\u50cf\u90fd\u6709\r\n<\/pre>\n |