LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Bash script to compare dir contents (https://www.linuxquestions.org/questions/programming-9/bash-script-to-compare-dir-contents-349151/)

Boffy 08-02-2005 05:43 AM

Bash script to compare dir contents
 
Could anyone advise me on a small bash script that would allow me to compare the contenents of two directories and report the differences.

Boffy

hk_linux 08-02-2005 05:46 AM

diff -r <dir1> <dir2>

HTH

Boffy 08-02-2005 06:08 AM

Thanks


All times are GMT -5. The time now is 12:57 PM.