=head1 NAME public-inbox-clone - "git clone --mirror" wrapper =head1 SYNOPSIS public-inbox-clone INBOX_URL [INBOX_DIR] =head1 DESCRIPTION public-inbox-clone is a wrapper around C for making the initial clone of a remote HTTP(S) public-inbox. It allows cloning multi-epoch v2 inboxes with a single command and zero configuration. It does not run L nor L. Those commands must be run separately if serving/searching the mirror is required. As-is, public-inbox-clone is suitable for creating a git-only backup. public-inbox-clone does not use nor require any extra configuration files (not even C<~/.public-inbox/config>). L may be used to keep C up-to-date. For v2 inboxes, it will create a C<$INBOX_DIR/manifest.js.gz> file to speed up subsequent L. =head1 OPTIONS =over =item --epoch=RANGE Restrict clones of L inboxes to the given range of epochs. The range may be a single non-negative integer or a (possibly open-ended) C range of non-negative integers. C<~> may be prefixed to either (or both) integer values to represent the offset from the maximum possible value. For example, C<--epoch=~0> alone clones only the latest epoch, C<--epoch=~2..> clones the three latest epochs. Default: C<0..~0> or C<0..> or C<..~0> (all epochs, all three examples are equivalent) =item -q =item --quiet Quiets down progress messages, also passed to L. =item -v =item --verbose Increases verbosity, also passed to L. =item --torsocks=auto|no|yes =item --no-torsocks Whether to wrap L and L commands with torsocks. Default: C =back =head1 CONTACT Feedback welcome via plain-text mail to L The mail archives are hosted at L and L =head1 COPYRIGHT Copyright all contributors L License: AGPL-3.0+ L =head1 SEE ALSO L, L, L