比較檔案修改
mtree
comm <(ls ~/dir-new/) <(ls ~/dir)
rsync -nav --delete DIR1/ DIR2
diff --brief -r dir1 dir2
$ diff ~peter ~george
exist in 1 directory and not the other, and which are common files. Files that are common in both directories
夢想家活一身, 學無限~ 夢不息, 心不倦~ |
|
目錄比較
比較檔案修改 mtree comm <(ls ~/dir-new/) <(ls ~/dir) rsync -nav --delete DIR1/ DIR2 diff --brief -r dir1 dir2 $ diff ~peter ~george exist in 1 directory and not the other, and which are common files. Files that are common in both directories
»
|