bug-coreutils
[Top][All Lists]
Advanced

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

Re: How to make the colors different for a symbol link pointing to a fil


From: Peng Yu
Subject: Re: How to make the colors different for a symbol link pointing to a file and symbol link pointing to a dir?
Date: Wed, 30 Dec 2009 21:34:26 -0600

2009/12/30 Pádraig Brady <address@hidden>:
> On 31/12/09 02:30, Peng Yu wrote:
>>
>> On Wed, Dec 30, 2009 at 7:34 PM, Eric Blake<address@hidden>  wrote:
>>>
>>> LINK target
>>
>> I don't want the color of the link the same as the color of the
>> target. I want the color of the link that points to a file different
>> from the color of the link that points to a dir. I still want to tell
>> that they are links, so I can not use the same color as their targets.
>
> I wouldn't be on for adding more color combinations to handle
> cases like this. Perhaps a combination of "LINK target" with the
> -F option would suffice. That would use the color of the target
> while also distinguishing symlinks with an appended "@".

I'm not sure if you understand me correctly.

I tried -F. It will append all the symlinks with '@' no matter whether
they point to files or directories. I want to distinguish these two
cases somehow whether by color or by appended symbol. But -F can help
me distinguish the two case.




reply via email to

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