[CentOS] compare directories

David Hláčik david at hlacik.eu
Thu Oct 23 09:53:20 UTC 2008


Hello guys,

I have two mirrors. I need to compare files and directories on both mirrors
and as a result print list of those which are missing on mirror 2

What i did

find /data > find.mirror1

find /data > find.mirror2

Now i need to get list of those directories which are missing in mirror1.

Thanks in advance!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20081023/2022322b/attachment.htm


More information about the CentOS mailing list