Florian Philipp <li...@f_philipp.fastmail.net> wrote:
> James schrieb:
> > All,
> >
> > I'm trying to find a good way to compare two complex directory
> > structures to see what files differ. I've looked at a few different
> > options:
> >
> > - rsync dry run (someone said this should work, but I'm having trouble
> > getting good information out of this)
> > - diff -rq (this works, but it's sloowwwwww)
> >
> > I've used cdircmp before but it tends to crash on complex directories
> > (a directory with more than a few subdirs and with hidden dot files).
> >
> > Thoughts? Any specific / good utilities for doing this?
star -c -diff -v -C from-dir . to-dir
Check diffopts= to learn how to tell star what to compare.
It is fast, compares all file attributes and it does not go into loops if you
encounter symlinks to directories.
Jörg
--
EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
[email protected] (uni)
[email protected] (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily