[CentOS] compare directories
Bowie Bailey
Bowie_Bailey at BUC.comThu Oct 23 13:53:42 UTC 2008
- Previous message: [CentOS] compare directories
- Next message: [CentOS] compare directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David Hlácik wrote: > 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. find /data | sort > find.mirror1 find /data | sort > find.mirror2 diff find.mirror1 find.mirror2 -- Bowie
- Previous message: [CentOS] compare directories
- Next message: [CentOS] compare directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list