Re: 不同電腦檔案同步的問題?

看板Linux作者時間16年前 (2009/05/20 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Hi, 1. synchronize the clocks on computer A and B. 2. make sure rsync(1) is installed on both. 3. Try, on the host_A, for instance, $ rsync -avzuxH /blah/dir1/ host_B:/blah/dir2/ (nota bena! the trailing slashes are relevant!) 4. Try also, $ rsync -avzuxH --delete /blah/dir1/ host_B:/blah/dir2/ to remove the files in the dir2/ which do not appear in dir1/. 5. This way (the options), the whole system (including /dev/) may also be duplicated (at least for myself). regards
文章代碼(AID): #1A4yRF00 (Linux)
文章代碼(AID): #1A4yRF00 (Linux)