mirror of
				https://github.com/TeFiLeDo/tree-owners.git
				synced 2025-11-04 05:51:19 +01:00 
			
		
		
		
	Find all owners (user and group) inside a directory tree. 
			
		
		
				Bumps the minor group with 1 update: [clap](https://github.com/clap-rs/clap). - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v4.4.8...v4.4.10) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com>  | 
			||
|---|---|---|
| .github | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
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 (1000)
groups:
    users (985)
Using uids and gids:
$ 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"
  }
}