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
Post a Comment