Blob


1 .\"
2 .\" Copyright (c) 2023 Benjamin Stürz
3 .\"
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
7 .\"
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 .\"
16 .Dd $Mdocdate$
17 .Dt GOT-ARCHIVE-ALL 1
18 .Os
19 .Sh NAME
20 .Nm got-archive-all
21 .Nd run got-archive(1) on all repositories
22 .Sh SYNOPSIS
23 .Nm got-archive-all
24 .Op Fl sV
25 .Op Fl o Ar outdir
26 .Op Fl t Ar tmpdir
27 .Ar directory
28 .Sh DESCRIPTION
29 .Nm
30 runs
31 .Xr got-archive 1
32 on all repositories in
33 .Ar directory .
34 .Pp
35 The options are as follows:
36 .Bl -tag -width -Ds
37 .It Fl o Ar outdir
38 An existing directory in which the tarball will be created.
39 By default, this will be the current working directory.
40 .It Fl s
41 Strip a preceding "v" from the
42 .Ar branch/tag .
43 .It Fl t Ar tmpdir
44 A temporary directory used for the checkout.
45 By default, this will be
46 .Ar /tmp/got-archive .
47 .It Fl V
48 Print the version of got-archive(1) and exit.
49 .Sh EXIT STATUS
50 .Ex -std got-archive-all
51 .Sh EXAMPLES
52 Create tarballs for all repositories in
53 .Pa /var/git
54 and put them into
55 .Pa /mnt .
56 .Pp
57 .Dl $ got-archive-all -s -o /mnt /var/git
58 .Sh SEE ALSO
59 .Xr got-archive 1
60 .Sh AUTHORS
61 .An Benjamin Stürz Aq Mt benni@stuerz.xyz