diff options
author | Ben Sima <ben@bsima.me> | 2021-07-20 09:39:41 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-07-20 09:39:41 -0400 |
commit | c4d4d5dea43d2548d4c185206f774edda65bc801 (patch) | |
tree | b70575fb4b073a11f3960c58cf5a85d2c16382b3 | |
parent | ab5a381d25b56bed0e112b3ccc980177382ad91c (diff) |
add perms
-rwxr-xr-x | perms | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +1,3 @@ +#!/usr/bin/env bash +echo $(realpath $1) +stat --printf "octal: %a\nhuman: %A\nowner: %U (%u)\ngroup: %G (%g)" "$@" |