Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fastest way to count # of files?
- X-seq: zsh-users 21856
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Fastest way to count # of files?
- Date: Thu, 8 Sep 2016 18:09:58 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=+0M2f0S9YPUvFQkwiR7vSGSWy2DtVENXFd7Z9rAlgNY=; b=DuoNU4I6hJH3zMLU7KqIF3M5ARZnTzNFV+t//ntYOlRlL+ARcWS0rqiScUXRdDoQC4 hynojgFp6BfwHYjXNQ3qyFB6zSlXuMHjlTFS8g3GKP/j5qEvHMy8BPAtxIPE55EIQO3G ih+z2kFw04krqSwC46ftwgcmrVrs8eP0jNOPaiecCoH7CciedpC4pVag9RtquNNgv0Sn /BEwSZInyVNuOIoAasZMZOGusyg1MWprVxEGd2qEUjfiaAcPv7lv59kZC8G7BTwst8v8 ekVzkNBcX9y4DQOZSLLi0LRJZ+VKUySjDJevKPOeNtjWvpvDjMtXUzG2ond9eobVTlKk tZzA==
- In-reply-to: <CAH+w=7ZZzfF8t0Fho1pvUCMzQJuHDoVS=S3Mox7gpx08YyNhJQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVApZGBAoQ4GywTLzbJXmNOrq2-W_iP7p+ifWqzYF49N+g@mail.gmail.com> <160908090800.ZM13466@torch.brasslantern.com> <CAKc7PVBE4tzYqdUXqZ8KpgFPq45Kx2z56_vMnST9oLsOH+YcEQ@mail.gmail.com> <CAH+w=7ZZzfF8t0Fho1pvUCMzQJuHDoVS=S3Mox7gpx08YyNhJQ@mail.gmail.com>
On Sep 8, 1:00pm, Bart Schaefer wrote:
}
} This assumes that nlink for a directory is the number of files it
} contains plus "." and "..".
Accuracy of this seems to vary by filesystem type, so probably not
a viable solution.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author