-   Linux - Newbie (
-   -   directory compare (

tmoorman 09-26-2003 02:25 PM

directory compare
How do you compare the contents of two directories? I am testing my tape drive and afio for backups. I restored 25 mb of data to a different dir and I want to see if the restored files are identical to the files in the original directory.


crabboy 09-26-2003 02:32 PM

This should work:


diff -r --brief dir1 dir2

tmoorman 09-26-2003 02:45 PM

Thanks, that worked. I had thought that diff only worked with text files. Live and learn...

All times are GMT -5. The time now is 01:30 AM.