rsync 如何處理檔案搬移 - Linux

Rae avatar
By Rae
at 2012-07-27T21:27

Table of Contents

我有兩個資料夾 /src/ 是來源 /des/ 是目的地

原來的檔案是這樣的

/src/da/
/src/da/file.txt
/src/db/

因為之前有執行過一次備份 所以 /des/ 是

/des/da/
/des/da/file.txt
/des/db/

現在呢我移動 (move) 了一個檔案 /src/ 變成這樣

/src/da/
/src/db/
/src/db/file.txt

現在我要運用 rsync 來處理差異備份

萬一 file.txt 很大的話 那 rsync 不能單純的以「檔案移動」來處理嗎?

請高手不吝指教 謝謝

--
Tags: Linux

All Comments

login之前run script 顯示有問題

Andy avatar
By Andy
at 2012-07-27T01:14
各位好,小弟使用的系統是centos6.2 沒用x-windows 遇到一個問題是 沒有login ,run script會有顯示的問題 script內容是 #!/bin/sh # # read -p and#34;please keyin your nameand#34; image 結果 如果我有 ...

OpenBSD's Raadt slams Red Hat,Canonical over 'secure' boot

Madame avatar
By Madame
at 2012-07-27T00:53
OpenBSD founder Theo de Raadt has slammed Red Hat and Canonical for the way they have reacted to Microsoftand#39;s introduction of and#34;secureand#34; boo ...

kubuntu裡的kde 錢包

Andy avatar
By Andy
at 2012-07-26T22:16
我是一個linux的新手,最近灌了kubuntu,但是在設定adsl上網之後,每次開機後都會 出現kde 錢包,要我輸入密碼,如果不輸入的話就無法連上網路,但是adsl 的密碼頗 難記,所以不想每次都輸入,請問有什麼方法可以解決呢? - ...

已將路徑加到PATH 卻還是無法找到指令

Gary avatar
By Gary
at 2012-07-25T20:51
我在 家目錄下安裝了某個套裝軟體 在.bashrc把此套裝軟體的執行檔路徑加到了PATH source .bashrc後 為什麼還是無法直接執行command 系統似乎找不到 有人知道原因嗎? 感謝 - ...

請問一下有人測試過Ubuntu multi touch

Kristin avatar
By Kristin
at 2012-07-25T16:38
借標題也問一下: 像Android是靠idc file將坐標可設定為mouse or touchscreen. 請問ubuntu也有類似的設定嗎? 不然我現在使用kernel v3.5 ubuntu 12.04 接上touchsc ...