-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf.1
49 lines (37 loc) · 800 Bytes
/
cf.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
47
48
49
.TH cf 1 05-JUL-2022 "Kozmix Go"
.SH NAME
cf \- count files in given directories and subdirectories
.SH SYNOPSIS
.B cf
[-a] [-s] [-c] [-S] [dir ...]
.SH DESCRIPTION
.B cf
counts the number of files in the given directories (or the current
directory if no argument is given), and all its subdirectories. Bit like
.BR du (1)
but for file counts, rather than file sizes.
.B cf
only counts regular files, not directories, symbolic links, device
files or named pipes.
.B cf
has these options:
.TP
.B \-a
do not ignore entries starting with .
.TP
.B \-s
print only a total file count for each argument
.TP
.B \-c
print a grand total
.TP
.B \-S
don't add subdirectory counts to directory count
.SH BUGS
.BR "cf -S -c"
doesn't work as expected.
.SH SEE ALSO
.BR du (1),
.BR ls (1)
.SH AUTHOR
svm