Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sorting files
- X-seq: zsh-users 9239
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: strcat@xxxxxxx
- Subject: Re: Sorting files
- Date: Fri, 05 Aug 2005 05:06:23 +0200 (CEST)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <2005-08-04T19-14-42@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050804.203836.63133092.Meino.Cramer@xxxxxx> <2005-08-04T19-14-42@xxxxxxxxxxxxxxxxxxx>
From: Christian Schneider <strcat@xxxxxxx>
Subject: Re: Sorting files
Date: Thu, 4 Aug 2005 21:14:42 +0200
Hi,
> * Meino Christian Cramer <Meino.Cramer@xxxxxx> typed:
> [...]
> > Is there a way to get one big listing starting with the smallest file
> > of all files found (including those in the subdirectories) and ending
> > with the largest one? ...without the conventional way of slowly
> > smokeing a sort-pipe ?
>
> $ ls -fl ./**/*(OL)
...this does not work for me...sorry... :)
> or
> $ zmodload zsh/stat
> $ ls -fld ./**/*(d`stat +device .`OL)
This does...but, hmmmmm....I again need an "additional" tool
(zsh/stat). Is the filesize something, which cannot be determined by
the Shell alone ?
Why does it seems, that any combination or contruction with oL,. and
() does not work (until now) ?
keep zshing!
Meino
> --
> http://www.strcat.de/zsh/#features [*] Christian 'strcat' Schneider
> http://www.strcat.de/zsh/#tipps [*] Email.......: strcat@xxxxxxx
> http://www.strcat.de/zsh/#modex [*] GPG-ID......: 47E322CE
> http://www.strcat.de/zsh/#links [*] [zsh - the Z shell]
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author