[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12664: Not possible to list directories recursiv (-d switch ignores
From: |
Bob Proulx |
Subject: |
bug#12664: Not possible to list directories recursiv (-d switch ignores -R) |
Date: |
Wed, 17 Oct 2012 14:41:14 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Vamp898 wrote:
> Documentation says the following:
>
> -d, --directory :: list directory entries instead of contents, and do not
> dereference symbolic links
>
> and
>
> -R, --recursive :: list subdirectories recursively
>
> And this is what i get when i use ls -dR /
>
> $ ls -dR /
> /
Right. Because the -d said to list the directory and not the contents.
In addition to everything Eric said see also this FAQ entry:
http://www.gnu.org/software/coreutils/faq/#ls-_002dd-does-not-list-directories_0021
Bob