[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some obvserations



Laurent Bonnaud <Laurent.Bonnaud@irisa.fr> writes:

> Hi,
> 
> i'm testing slink_cd-0.98 on a RedHat 5.2 system (i did not choose the
> distribution) and found a small incompatibility between both
> distributions :
...
> In the process i discovered that i also needed a hamm mirror.  Before i
> download another 700MB, does somebody know when links from slink to
> hamm will be replaced by real files ?

"find <mirror> -follow >/dev/null" will give you a list of all broken
symlinks. Pipeing that through grep and sed and using wget you can
download them. Should be far less than the complete hamm.

Try

for i in 'find <mirror> -follow -name "*.deb" 2>&1 >/dev/null | grep slink | sed s/slink/hamm/'; do wget -r ftp://debian/$i ; done

That should download all files that are unresolved symlinks from slink 
to hamm.

May the Source be with you.
			Goswin


Reply to: