目錄比較

 

 

比較檔案修改

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

 

 

 

Creative Commons license icon Creative Commons license icon