Compare directory content that has since been udpated
Hi,
We copied the directories/files from one filesys1 to filesys2 and since that initial copy have further added more directories/files to filesys2 from another source. How can we compare filesys1 to filesys2 to make sure all files/directories were copied successfully to filesys2? I would like a way to check filesys1 against filesys2 and only show/output when something is missing from filesys2 that exists in filesys1 and not report the additional/extra directroies/files that have been copied to filesys2. Thanks, Riley |
Something like:
Code:
diff filesys1/path/to/dir filesys2/path/to/dir -qr | grep "Only in filesys1" Code:
diff filesys1/path/to/dir filesys2/path/to/dir -qr | egrep -v "Only in filesys2" |
Thank you!
I think that's exactly what I need. |
Glad to be of assistance. :) Could you mark the thread as '[SOLVED]' using the thread tools, please?
Thanks, |
All times are GMT -5. The time now is 05:21 PM. |