* recursively directory listing in dired way.
@ 2008-11-19 4:03 Anand S. Dhankshirur
2008-11-19 10:08 ` Peter Dyballa
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Anand S. Dhankshirur @ 2008-11-19 4:03 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <mailman.728.1227079436.26697.help-gnu-emacs@gnu.org>]
* Re: recursively directory listing in dired way.
[not found] <mailman.728.1227079436.26697.help-gnu-emacs@gnu.org>
@ 2008-11-19 7:53 ` Xah
2008-11-19 19:22 ` Alan
2008-11-20 7:23 ` parozusa
2 siblings, 0 replies; 9+ messages in thread
From: Xah @ 2008-11-19 7:53 UTC (permalink / raw)
To: help-gnu-emacs
On Nov 18, 8:03 pm, "Anand S. Dhankshirur" <a...@cdotb.ernet.in>
wrote:
> 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?
maybe there are better ways, but i just go to the dir, then do
Alt+x find-dired
when it asks for “Run Find”, give “-type f”. If you want html only,
you can do “-name *html” for example.
Xah
∑ http://xahlee.org/
☄
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: recursively directory listing in dired way.
[not found] <mailman.728.1227079436.26697.help-gnu-emacs@gnu.org>
2008-11-19 7:53 ` Xah
@ 2008-11-19 19:22 ` Alan
2008-11-20 7:23 ` parozusa
2 siblings, 0 replies; 9+ messages in thread
From: Alan @ 2008-11-19 19:22 UTC (permalink / raw)
To: help-gnu-emacs
On Nov 18, 10:03 pm, "Anand S. Dhankshirur" <a...@cdotb.ernet.in>
wrote:
> 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
Is the answer the following (call dired with a prefix), or did I
overlook something?
C-x d runs the command dired
which is an interactive compiled Lisp function in `dired.el'.
It is bound to C-x d, <menu-bar> <file> <dired>.
(dired dirname &optional switches)
"Edit" directory dirname--delete, rename, print, etc. some files in
it.
Optional second argument switches specifies the `ls' options used.
I checked that it worked, with
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: recursively directory listing in dired way.
[not found] <mailman.728.1227079436.26697.help-gnu-emacs@gnu.org>
2008-11-19 7:53 ` Xah
2008-11-19 19:22 ` Alan
@ 2008-11-20 7:23 ` parozusa
2 siblings, 0 replies; 9+ messages in thread
From: parozusa @ 2008-11-20 7:23 UTC (permalink / raw)
To: help-gnu-emacs
"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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-11-20 10:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 4:03 recursively directory listing in dired way Anand S. Dhankshirur
2008-11-19 10:08 ` Peter Dyballa
[not found] ` <mailman.732.1227089307.26697.help-gnu-emacs@gnu.org>
2008-11-19 11:28 ` Quotes (OT) rustom
2008-11-19 11:55 ` recursively directory listing in dired way Paul R
[not found] ` <4924DF4B.4050206@cdotb.ernet.in>
2008-11-20 9:16 ` Paul R
2008-11-20 10:01 ` Anand S. Dhankshirur
[not found] <mailman.728.1227079436.26697.help-gnu-emacs@gnu.org>
2008-11-19 7:53 ` Xah
2008-11-19 19:22 ` Alan
2008-11-20 7:23 ` parozusa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.