help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired, dired-x: how to get dir sorted by *size* (of files)?


From: Eric Hanchrow
Subject: Re: dired, dired-x: how to get dir sorted by *size* (of files)?
Date: 16 Jul 2003 12:59:02 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "David" == David Combs <dkcombs@panix.com> writes:

    David> Just wondering -- is it possible (easily possible) to get
    David> dired-buf showing the dir's files, by SIZE (biggest at
    David> top)?

If you use GNU `ls', you can do

        C-u C-x d S RET RET

In English: you run `dired' with C-x d, almost as usual, except you
type C-u first.  That lets you supply extra arguments to `ls'.  You
add `S' to the arguments that are already there (probably `-al'), and
the S tells `ls' to sort by size.

-- 
Adelle Davis used to say that she never saw anyone get cancer who
drank a quart of milk daily, as she did.  She stopped saying that when
she died of cancer in 1974.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]