Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: files smaller than threshold?
- X-seq: zsh-users 9500
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Deliverable Mail <deliverable@xxxxxxxxx>
- Subject: Re: files smaller than threshold?
- Date: Sat, 15 Oct 2005 03:17:38 +0200
- Cc: zsh-users@xxxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M+thIRIhcsN30T/f/zkYvrjrpEsSbl6Os2VL3g0gGVDAwn1T3Z1E2C8yVl6Jn1DnDtOtyt/M8lzN7+e3D6o2DXgI+CsS0qxL/l8W6fuiYnJ2kNXfne4vdN3GgHupx0FH3YPdV4wNiIq+cEy0kNrO75dV7g9M5Zy2YZ1Qwn5gTRs=
- In-reply-to: <7c737f300510141754o2aa2bbefxf53749ff148b8cd2@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7c737f300510141754o2aa2bbefxf53749ff148b8cd2@xxxxxxxxxxxxxx>
On 10/15/05, Deliverable Mail <deliverable@xxxxxxxxx> wrote:
> What is the fastest way, in zsh, to list all files smaller than certain
> size?
>
> Cheers,
> Alexy
something like ls *(L-500) to see all files smaller than 500 bytes, as per
L[+|-]n
files less than n bytes (-), more than n bytes (+), or
exactly n bytes in
length. If this flag is directly followed by a `k'
(`K'), `m' (`M'), or `p'
(`P') (e.g. `Lk-50') the check is performed with
kilobytes, megabytes, or
blocks (of 512 bytes) instead.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author