GNU bug report logs -
#19981
eshell lacks a way to list directories only, files only, number of files
Previous Next
Reported by: Chen Xiaodong <fly797 <at> gmail.com>
Date: Mon, 2 Mar 2015 16:07:01 UTC
Severity: wishlist
Tags: notabug, wontfix
Found in version 24.4
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 19981 + wontfix notabug
close 19981
thanks
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Tue, 03 Mar 2015 00:06:21 +0800
>> From: Chen Xiaodong <fly797 <at> gmail.com>
>>
>>
>> Compared with the command "dir" in shells of Window 2000/XP/7, as a
>> novice to Eshell, I think there are big inconveniences in it.
>> (1)I can't get only directories listed with "ls -d" ("dir /ad" in
>> Windows), likewise, can't get only files listed("dir /a-d" in Windows).
>> (2)I can't find out how many files there are and how much diskspace
>> available with "ls" nor "du". These two items usually comes with "dir"
>> in Windows.
>>
>> Should there be some improvements?
>
> You can have all that in Eshell with "cmd /c dir ...".
>
> The built-in Eshell commands emulate their Unix namesakes, so they
> present features in those commands.
I don't think we want to add the Windows equivalents here, and Eli has
already demonstrated how one can do these things. I'm therefore
closing this bug report.
If anyone disagrees with that, please reopen the bug report (or just
reply to this email if you don't know how to do that).
Best regards,
Stefan Kangas
This bug report was last modified 5 years and 175 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.