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

Suggestion: size support (column, sorting) #84

Closed
maximbaz opened this issue Apr 18, 2021 · 2 comments · Fixed by #85
Closed

Suggestion: size support (column, sorting) #84

maximbaz opened this issue Apr 18, 2021 · 2 comments · Fixed by #85

Comments

@maximbaz
Copy link
Contributor

What are your thoughts on adding support for file sizes? To have a column with file size, to be able to sort by them?

ncdu integration as you've shown in wiki is nice, and maybe it's enough, I was just thinking about it, and (a) for me personally, a size column would probably be more interesting than mime or index, and (b) some operations like system cleaning although possible to do in ncdu, might be more pleasant to do in xplr.

bonus points: directory sizes, something that even exa doesn't support 🙂

@sayanarijit
Copy link
Owner

sayanarijit commented Apr 19, 2021

I don't want to implement a full disk analyze mode now because there are dedicated tools that are much better at this and I'd like xplr to integrate with them at a deeper level.
Although, file size seems doable since it's just lying around in the metadata.

@sayanarijit
Copy link
Owner

Maybe in the future it'll be possible to run a disk analyzer as a service that will set extra properties to the nodes like meta.disk_usage via pipes, and it'll be possible to sort/filter using meta fields.

sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Also supports sorting by inode size.

Closes: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Follow symlink to files to it's parent directory.

Also, hide file size for directories.

Ref: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Follow symlink to files to it's parent directory.

Also, hide file size for directories.

Ref: #84
sayanarijit added a commit that referenced this issue Apr 19, 2021
Follow symlink to files to it's parent directory.

Also, hide file size for directories.

Ref: #84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants