Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Sorting files



* 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