Crates.io | tree-owners |
lib.rs | tree-owners |
version | 1.0.5 |
source | src |
created_at | 2023-09-24 05:46:30.714161 |
updated_at | 2024-03-23 21:49:11.190605 |
description | Find all owners (user and group) inside a directory tree. |
homepage | |
repository | https://github.com/TeFiLeDo/tree-owners |
max_upload_size | |
id | 981741 |
size | 40,142 |
Find all owners (user and group) inside a directory tree.
© Adrian Wannenmacher - Licensed under the EUPL
To see available options run: tree-owners --help
Basic example when running in this repository:
$ tree-owners
users:
adrian (1000)
groups:
users (985)
Using uid
s and gid
s:
$ tree-owners --raw
users:
1000
groups:
985
Using json
output:
$ tree-owners --json
{
"users": {
"1000": "adrian"
},
"groups": {
"985": "users"
}
}
Combining json
and uid
/gid
:
$ tree-owners --raw --json
{
"users": {
"1000": null
},
"groups": {
"985": "users"
}
}