Simple obtain differences between the two folders.

Obtaining differences between the two folders

[root @ CentOS77 gpadd2] # diff -rq / gdadd / / root / gpadd2 / | awk ' {Print $ 4} ' | grep -v / 
platform Ministry has not yet issued, Zhao Lei patch .rar 
[root @ CentOS77 gpadd2] # diff - RQ / gdadd / / the root / gpadd2 / | awk ' {}. 4 Print $ ' | grep / 
/ the root / gpadd2 / the nohup. OUT

 

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/11963125.html