ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.41k stars 658 forks source link

Displaying values of extended attributes #613

Open kseistrup opened 4 years ago

kseistrup commented 4 years ago

Would it be possible to have an extra option that works in concert with --extended/-@ so that the values of an extended attribute is shown?

Right now, what I see is:

$ exa --long --extended test.txt
.rw-r--r--@ 132 kas 10 Sep 18:34 test.txt
                                 └── user.comment (len 16)

and I have to do e.g.

$ getfattr -n user.comment --only-values test.txt
Frække frølår

to see the comment.

Would it be possible to have something like

$ exa --long --extended --show-extended-values test.txt
.rw-r--r--@ 132 kas 10 Sep 18:34 test.txt
                                 └── user.comment: Frække frølår

?

blueforesticarus commented 1 year ago

This would be very useful for me, especially if you could select specific ones to show like -@user.comment and show them as regular columns (I like to use user.comment to document what files are.)