Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


PKGS_TO_MMIN

Section: User Commands (1)
Updated: 23 September 2001
Index Return to Main Contents
 

NAME

pkgs_to_mmin - extract mirror-master details from mirror package files  

SYNOPSIS

pkgs_to_mmin [-y last_ok] [-n last_notok] [packages] package  

DESCRIPTION

pkgs_to_mmin is a utility perl script which reads mirror package files and for each package found outputs details as one line of text in the form:

filename:packagename last_ok last_notok

 

OPTIONS

-y last_ok
where last_ok is an integer (default 8).
-n last_notok
where last_notok is an integer (default 8).
 

EXAMPLES

pkgs_to_mmin -y 20 /etc/mirror/packages/debian-dists
lists mirror-master detail lines for all the mirror packages in debian-dists with last_ok reset to 20.
cmdin=pkgs_to_mmin /etc/mirror/late/* | grep ":patch"
is a line in a mirror-master control file. When run, pkgs_to_mmin makes detail lines for all packages found in /etc/mirror/late/, grep selects only lines with :patch which mirror then runs. A following line would use grep -v. Keep unsuitable package files in another directory. For large archives use a separate directory for each time of day mirror-master starts.
 

AUTHOR

The author of the pkgs_to_mmin script is Lee McLoughlin and the source of the script is:

http://sunsite.org.uk/packages/mirror/  

COPYRIGHT

The copyright statement can be found in the file

/usr/share/doc/mirror/copyright.  

SEE ALSO

HTML documentation at /usr/share/doc/mirror/html/mirror.shtml. mirror-master(1), mirror(1), grep(1), uniq(1).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHOR
COPYRIGHT
SEE ALSO


for client 3.135.190.101
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/