1MINICPAN(1)           User Contributed Perl Documentation          MINICPAN(1)
2
3
4

NAME

6       minicpan - uses CPAN::Mini to create or update a local mirror
7

SYNOPSIS

9        minicpan [options]
10
11        Options
12          -l LOCAL   - where is the local minicpan?     (required)
13          -r REMOTE  - where is the remote cpan mirror? (required)
14          -d 0###    - permissions (numeric) to use when creating directories
15          -f         - check all directories, even if indices are unchanged
16          -p         - mirror perl, ponie, and parrot distributions
17          -q         - run in quiet mode (don't print status)
18          -qq        - run in silent mode (don't even print warnings)
19          -c CLASS   - what class to use to mirror (default: CPAN::Mini)
20          -C FILE    - what config file to use (default: ~/.minicpanrc)
21          -h         - print help and exit
22          -v         - print version and exit
23          -x         - build an exact mirror, getting even normally disallowed files
24          --offline  - operate in offline mode (generally: do nothing)
25

DESCRIPTION

27       This simple shell script just updates (or creates) a miniature CPAN
28       mirror as described in CPAN::Mini.
29

CONFIGURATION FILE

31       By default, "minicpan" will read a configuration file to get
32       configuration information.  The file is a simple set of names and
33       values, as in the following example:
34
35        local:  /home/rjbs/mirrors/minicpan/
36        remote: http://your.favorite.cpan/cpan/
37        exact_mirror: 1
38
39       "minicpan" tries to find a configuration file through the following
40       process.  It takes the first defined it finds:
41
42       ·   Use the value specified by "-C" on the command line
43
44       ·   Use the value in the "CPAN_MINI_CONFIG" environment variable
45
46       ·   Use ~/.minicpanrc
47
48       ·   Use CPAN/Mini/minicpan.conf
49
50       If the selected file does not exist, "minicpan" does not keep looking.
51
52       You can override this process with a "config_file" method in your
53       subclass.
54
55       See "CPAN::Mini" for a full listing of available options.
56

TO DO

58       Improve command-line options.
59

SEE ALSO

61       Randal Schwartz's original article, which can be found here:
62
63         http://www.stonehenge.com/merlyn/LinuxMag/col42.html
64

AUTHORS

66       Randal Schwartz <merlyn@stonehenge.com> had the bright idea and wrote
67       the original implementation.
68
69       Ricardo SIGNES <rjbs@cpan.org> brazenly took the script, made a module
70       and distribution, and slowly allowed it to gain features.
71
72       This code was copyrighted in 2004, and is released under the same terms
73       as Perl itself.
74
75
76
77perl v5.12.0                      2010-03-04                       MINICPAN(1)
Impressum