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

Is it possible to add a path truncate option? #15

Closed
SolidRhino opened this issue Feb 22, 2022 · 3 comments
Closed

Is it possible to add a path truncate option? #15

SolidRhino opened this issue Feb 22, 2022 · 3 comments

Comments

@SolidRhino
Copy link

SolidRhino commented Feb 22, 2022

I have a path from docker: /var/lib/docker/btrfs/subvolumes/66281c586c95bc969e46ea749970d5d6f77a63a8c8fafec2580e5cc41486df34
That path is very large, because of that the table is not properly arranged in the terminal.

@speed47
Copy link
Owner

speed47 commented Feb 22, 2022

Yes, it was actually somewhere in my mental backlog ;)
btrfs-backed docker subvols can indeed have very long names!
I'll implement it soon and use this issue to track progression.

@speed47
Copy link
Owner

speed47 commented Feb 27, 2022

Just implemented it in the "maxnamelen" branch, you might try it if you like:
https://raw.githubusercontent.com/speed47/btrfs-list/maxnamelen/btrfs-list
There are two new options, --max-name-len and --indent

@speed47
Copy link
Owner

speed47 commented Mar 13, 2022

Released in v2.2, please reopen if it doesn't work as expected!

@speed47 speed47 closed this as completed Mar 13, 2022
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

No branches or pull requests

2 participants