linux - How to compare contents of two directoriers in bash? -


lets there 2 dirs

/path1 , /path2 

for example

/path1/bin /path1/lib /path1/...  /path2/bin /path2/lib /path2/... 

and 1 needs know if identical contents (names of files , content of files) , if not have differences listed.

how in linux? there bash/zsh command it?

the diff command can show differences between 2 directories: diff -qr /path1 /path2


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -