Feature request: show file permissions numerically
Adding the chmod number to the detailed info list would be nice. Same as stat --format '%a' <file> can output
Good idea! I'm thinking --octal-permissions for an argument to switch it on.
Any update?
Still no updates on this?
@ogham where in the code should this be added ?
Any update?
yeet!?
I would love this feature! I have a little shell function for this that I picked up somewhere, but it would be great to have integrated with exa.
ls -l "$@" | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(" %0o ",k);print}';
So we will receive it in a new release?