mirror of
https://github.com/TeFiLeDo/tree-owners.git
synced 2024-11-14 00:36:22 +01:00
43 lines
501 B
Markdown
43 lines
501 B
Markdown
# tree-owners
|
|
|
|
Find all owners (user and group) inside a directory tree.
|
|
|
|
© Adrian Wannenmacher - Licensed under the EUPL
|
|
|
|
## Usage
|
|
|
|
To see available options run: `tree-owners --help`
|
|
|
|
Basic example when running in this repository:
|
|
```
|
|
$ tree-owners .
|
|
users:
|
|
adrian
|
|
|
|
groups:
|
|
users
|
|
```
|
|
|
|
Using `uid`s and `gid`s:
|
|
```
|
|
$ tree-owners --raw .
|
|
users:
|
|
1000
|
|
|
|
groups:
|
|
985
|
|
```
|
|
|
|
Using `json` output:
|
|
```
|
|
$ tree-owners --json .
|
|
{
|
|
"users": [
|
|
"adrian"
|
|
],
|
|
"groups": [
|
|
"users"
|
|
]
|
|
}
|
|
```
|