Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to show filesystem attributes #490

Open
pinusc opened this issue Apr 12, 2019 · 0 comments
Open

Option to show filesystem attributes #490

pinusc opened this issue Apr 12, 2019 · 0 comments
Labels
feature request New features to add to exa

Comments

@pinusc
Copy link

pinusc commented Apr 12, 2019

Some filesystems allow the user to set filesystem attributes on files with chattr. These are not extended attributes, so calling exa -@ won't do anything.

These attributes are present in ext2/3/4 and other filesystems as well. I mainly use the +d attribute (nodump) to control which files tarsnap backs up; I can check if files have the +d attribute by checking the output of lsattr $file, but that's quite bothersome. Being able to see it in the output of exa would be much better.

Other attributes (from the Arch Wiki) are:
-a: append only
-c: compressed
-d: no dump
-e: extent format
-i: immutable
-j: data journalling
-s: secure deletion
-t: no tail-merging
-u: undeletable
-A: no atime updates
-C: no copy on write
-D: synchronous directory updates
-S: synchronous updates
-T: top of directory hierarchy

I understand that this is a niche feature; but then again, so is xattr listing!

@ogham ogham added the feature request New features to add to exa label Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New features to add to exa
Projects
None yet
Development

No branches or pull requests

2 participants