Re: checking mirror state?
Magosanyi Arpad <mag@bunuel.tii.matav.hu> writes:
>I have a debian mirror... Is there a script somewhere to check its
>consistency before I roast a CD from it?
You can use "find" to look for broken symlinks:
find . -follow | grep "No such"
You can also use md5sum as suggested by Kai Henningsen last week:
> cd /where/the/mirror/is
>
> md5sum < indices/md5sum
>
> Possibly filter the input or output for stuff you're not mirroring, for
> example like this:
>
> .... 2>&1| grep -Ev '^md5sum:.can.t.open.*(/source/|-m68k/|-alpha/|-sparc/)'
- Jim Van Zandt
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: