blob: 0396678afe521d7f507b23b3ba076d36a541413e (
plain)
1 ." Text automatically generated by txt2man-1.4.7
2 .TH prtwash 1 "September 18, 2009" "prtwash 0.7" ""
3 .SH NAME
4 \fBprtwash \fP- a script to clean the port dirs in CRUX Linux.
5 \fB
6 .SH SYNOPSIS
7 .nf
8 .fam C
9 \fBprtwash\fP [-p] [-s] [-d] [-t] [-a] <path> [<path> ...]
10 .fam T
11 .fi
12 .SH DESCRIPTION
13 \fBprtwash\fP is a bash script to clean the port tree of the CRUX
14 Linux distribution. You can clean a single or multiple directories
15 or the entire port tree. With the given options it is possible to
16 choose what kind of files the program should delete.
17 A test mode is provided.
18 .PP
19 \fBprtwash\fP was inspired by Martin Opel's prtsweep script.
20 .SH OPTIONS
21 By default prtsweep will NOT delete the following items
22 in a port directory:
23 .IP \(bu 3
24 The Pkgfile
25 .IP \(bu 3
26 The sources (as stated in the Pkgfile)
27 .IP \(bu 3
28 The built package
29 .IP \(bu 3
30 The .md5sum, .footprint, .32bit and .nostrip files
31 .IP \(bu 3
32 Additional files: README, FAQ, pre-install, post-install
33 .PP
34 All items not included in the previous list WILL be deleted
35 (ie: the 'work' dir of pkgmk, if present).
36 .PP
37 You can choose to delete some of the above passing the proper
38 option:
39 .TP
40 .B
41 -p
42 also removes the built package
43 .TP
44 .B
45 -s
46 also removes the sources
47 .TP
48 .B
49 -d
50 also remove the additional files: .md5sum, .footprint, .32bit
51 README, FAQ, pre/post-install
52 .TP
53 .B
54 -t
55 test mode: displays the target files without deleting
56 .TP
57 .B
58 -a
59 run in automatic mode: takes the port dirs from the
60 /etc/prt-get.conf file and do a recursive cleaning.
61 .PP
62 Misc options
63 .TP
64 .B
65 -h
66 Display usage information
67 .TP
68 .B
69 -v
70 Display version
71 .SH EXAMPLES
72 .TP
73 .B
74 \fBprtwash\fP -a -t
75 does a default wash action on the entire port tree;
76 donsn't really delete the files
77 .TP
78 .B
79 \fBprtwash\fP -a -p -s
80 now we're getting serious: removes all downoaded files
81 and built packages from the entire port tree
82 .TP
83 .B
84 \fBprtwash\fP -a -p -s -d
85 same as tha above, but also
86 removes .md5sum, .footprint, README, etc
87 .TP
88 .B
89 \fBprtwash\fP -p -s /usr/ports/contrib/sitecopy
90 removes all downoaded files
91 and built packages from the sitecopy directory
92 .TP
93 .B
94 \fBprtwash\fP /usr/ports/contrib/*
95 does a default wash action on the contrib port tree
96 .SH AUTHORS
97 Simone Rota <sip@varlock.com>
98 .SH SEE ALSO
99 \fBprtsweep\fP(1)
|