." Text automatically generated by txt2man-1.4.7 .TH prtwash 1 "September 18, 2009" "prtwash 0.7" "" .SH NAME \fBprtwash \fP- a script to clean the port dirs in CRUX Linux. \fB .SH SYNOPSIS .nf .fam C \fBprtwash\fP [-p] [-s] [-d] [-t] [-a] [ ...] .fam T .fi .SH DESCRIPTION \fBprtwash\fP is a bash script to clean the port tree of the CRUX Linux distribution. You can clean a single or multiple directories or the entire port tree. With the given options it is possible to choose what kind of files the program should delete. A test mode is provided. .PP \fBprtwash\fP was inspired by Martin Opel's prtsweep script. .SH OPTIONS By default prtsweep will NOT delete the following items in a port directory: .IP \(bu 3 The Pkgfile .IP \(bu 3 The sources (as stated in the Pkgfile) .IP \(bu 3 The built package .IP \(bu 3 The .md5sum, .footprint, .32bit and .nostrip files .IP \(bu 3 Additional files: README, FAQ, pre-install, post-install .PP All items not included in the previous list WILL be deleted (ie: the 'work' dir of pkgmk, if present). .PP You can choose to delete some of the above passing the proper option: .TP .B -p also removes the built package .TP .B -s also removes the sources .TP .B -d also remove the additional files: .md5sum, .footprint, .32bit README, FAQ, pre/post-install .TP .B -t test mode: displays the target files without deleting .TP .B -a run in automatic mode: takes the port dirs from the /etc/prt-get.conf file and do a recursive cleaning. .PP Misc options .TP .B -h Display usage information .TP .B -v Display version .SH EXAMPLES .TP .B \fBprtwash\fP -a -t does a default wash action on the entire port tree; donsn't really delete the files .TP .B \fBprtwash\fP -a -p -s now we're getting serious: removes all downoaded files and built packages from the entire port tree .TP .B \fBprtwash\fP -a -p -s -d same as tha above, but also removes .md5sum, .footprint, README, etc .TP .B \fBprtwash\fP -p -s /usr/ports/contrib/sitecopy removes all downoaded files and built packages from the sitecopy directory .TP .B \fBprtwash\fP /usr/ports/contrib/* does a default wash action on the contrib port tree .SH AUTHORS Simone Rota .SH SEE ALSO \fBprtsweep\fP(1)