[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recursively directory listing in dired way.
From: |
parozusa |
Subject: |
Re: recursively directory listing in dired way. |
Date: |
Thu, 20 Nov 2008 08:23:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
"Anand S. Dhankshirur" writes:
> I have installed 22.3 version of emacs in my system.
> I want to list all the subdirectories and its contents of a directory
> recursively in a dired buffer.
> So that i can go to that file.
> (running ls -lR shell command lists all the contents recursively but
> not in dired way!)
> I want to list all the contents in dired way.
> How to do that?
> Regards,
> Anand
Hi,
add the 'R' option to the underlying ls command by typing "1 s" in the
dired buffer of the top level directory:
s runs the command dired-sort-toggle-or-edit, which is an interactive
compiled Lisp function in `dired.el'.
It is bound to s.
(dired-sort-toggle-or-edit &optional arg)
Toggle between sort by date/name and refresh the dired buffer.
With a prefix argument you can edit the current listing switches instead.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Martin