Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sorting files
- X-seq: zsh-users 9231
- From: Christian Schneider <strcat@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Sorting files
- Date: Thu, 4 Aug 2005 21:14:42 +0200
- In-reply-to: <20050804.203836.63133092.Meino.Cramer@xxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Born to frag.
- References: <20050804.203836.63133092.Meino.Cramer@xxxxxx>
* 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)
or
$ zmodload zsh/stat
$ ls -fld ./**/*(d`stat +device .`OL)
--
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