Force "ls" to show .exe extension

Yaakov Selkowitz yselkowitz@cygwin.com
Tue Jan 6 20:43:00 GMT 2015


On 2015-01-06 13:34, Paul wrote:
> Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop"
> shows pdfcrop rather than pdfcrop.exe.  Is there any way to force ls
> to show the full filename (including extension) if it matched the ls
> argument, even if the ls argument doesn't specify the extension?  I
> read http://cygwin.com/cygwin-ug-net/using-specialnames.html, which
> helps explain the situation, but not a solution.

ls --append-exe ~/bin/pdfcrop

--
Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list