bug-coreutils
[Top][All Lists]
Advanced

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

enhancement bug for ls...


From: Rajeswar
Subject: enhancement bug for ls...
Date: Wed, 21 Feb 2007 10:24:22 +0530

Hi All,
 
Currently IF you want to list only the directories ( as a ls command )
or only interested in the directory structure ( tree ),
 
There is no option in ls.
 
"ls" has to be enhanced  with some "e" flag so that the following
scenarios are supported.
 
1. This listing has to be based on file types.
2. One or more types can be combined in the option.
 
eg.
ls -ed would list only directories in the current dir.
ls -edR will list only the directory tree.
ls -el   links only
ls -elR links in all sub dir staring with curr dir.
ls -eb  block devices
ls -ec  char devices...
ls -ep  pipe
ls -edlp  directories, links and  pipes only
 
etc.
 
This has been a requirement for a very long time but still not attended
for the past 30 years.
 
Thanks and Regards,
N.Rajeaswar
 


reply via email to

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