-
Notifications
You must be signed in to change notification settings - Fork 23
/
lostfiles.1
46 lines (43 loc) · 1.65 KB
/
lostfiles.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.\" Text automatically generated by txt2man
.TH lostfile 1 "23 October 2020" "" ""
.SH NAME
\fBlostfiles \fP- Find orphaned files not owned by any packages.
\fB
.SH USAGE
lostfiles [\fB-s\fP] [\fB-z\fP]
.SH DESCRIPTION
Lostfiles compares pacman's database of package owned files to the contents of actual filesystem and reports files that are not owned by a package. Useful for identifying non-native files.
.SH OPTIONS
\fB-s\fP
.PP
.nf
.fam C
Run in strict mode which aims to be more verbose ignoring less.
.fam T
.fi
\fB-z\fP
.PP
.nf
.fam C
Print and sort by size of matches.
.fam T
.fi
.SH USER-DEFINED EXCLUDES
/etc/lostfiles.conf can be customized with a list of paths to include and exclude when running in relaxed mode. Each line beginning with a plus (+) or minus (-) sign, followed by an absolute path, will respectively include or exclude that path from the results. An asterisk (*) wildcard can be used as a placeholder matching any string. Additionally, more complicated exclusion filters can be expressed by a line beginning with a dollar ($) sign, followed by command-line arguments to pass to the find utility. Finally, lines beginning with a number sign (#) are interpreted as comments.
.SH CONTRIBUTE
Users wishing to contribute to this code, should fork and send a pull request. Source is freely available at:
.RS
.IP \(bu 3
https://github.com/graysky2/lostfiles
.SH AUTHORS
Current maintainer:
.IP \(bu 3
graysky <graysky AT archlinux DOT org>
.PP
Past major contributors:
.IP \(bu 3
Joan Bruguera (joanbrugueram AT gmail DOT com)
.IP \(bu 3
Mircea Bardac (dev AT mircea.bardac.net)
.IP \(bu 3
Modified by Jan Janssen, graysky, karol, asdffdsa, iceram, and others.