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

Re: "jigdo-lite --noask --scan PATH" :IT works!



On Tuesday 07 December 2004 11:39, Rahmat M. Samik-Ibrahim wrote:
> On Tue, 2004-11-30 at 19:40, Richard Atterer wrote:
> > It's a shell script, no need to compile it. Get it here:
> > <http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/jigdo/jigdo/scripts
> >/jigdo-lite?rev=HEAD&content-type=text/plain>
> >
> >> Can you put multiple (up to 14) "--scan" switches?
> >
> > No, but you can make a directory and create 14 symlinks inside it to the
> > directories you want scanned.
>
> Thank you, it works! The files are now in:
>    http://kambing.vlsm.org/debian-cd/3.1_testing/041207/
>
> My script is like following:
>
> ------------------------------------------------------------
> #!/bin/sh
> for ii in 1 2 3 4 5 6 7 8 9 10 11 12 13 14
> do
>   nice -20 jigdo-lite --noask \
>        --scan /extra/iso/iso/ \
>        sarge-i386-$ii.jigdo
> done
> exit 0
> ------------------------------------------------------------
>

This looks great, but considering that maybe half or more of the updates are 
not really changes but just result from shuffling files from one iso to 
another, is it possible to do something like this:

for ii in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15    #yes it is 15 now
do
# loop mount my $iith iso
	for jj in 1 ... 15
	do
		jigdo-lite ...
		# scan only the mounted iso
		# do not fetch from the internet
	done
# unmount the $iith iso
done

# now another loop to update from the net.
...

Any chance?

Regards,
	Bob



Reply to: