aboutsummaryrefslogtreecommitdiff
path: root/man/man1/cf.1df
blob: 8434265b5cfb64854508a9dbb2f11e9cb20de4c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.TH CF 1df "July 2016" "Manual page for cf"
.SH NAME
.B cf
\- print a count of entries in a directory
.SH SYNOPSIS
.B cf
.br
.B cf
/path/to/dir
.br
.B cf
dir1 dir2
.SH DESCRIPTION
.B cf
counts all the entries in the given directories using glob expansion and prints
the count. It defaults to the current directory.
.P
It uses globs to do the counting, so it will give you unexpected results if
you're counting a directory that has more than ARG_MAX entries in it. You'll
have to resort to find(1) loops in that case.
.SH SEE ALSO
cfr(1df)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>