0
0
Fork 0
Find all owners (user and group) inside a directory tree.
Go to file
dependabot[bot] c7a35dee6f
Bump the minor group across 1 directory with 5 updates
Bumps the minor group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.81` | `1.0.86` |
| [clap](https://github.com/clap-rs/clap) | `4.5.3` | `4.5.7` |
| [serde](https://github.com/serde-rs/serde) | `1.0.197` | `1.0.203` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.114` | `1.0.117` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.1` | `4.5.6` |



Updates `anyhow` from 1.0.81 to 1.0.86
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.86)

Updates `clap` from 4.5.3 to 4.5.7
- [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/clap_complete-v4.5.3...v4.5.7)

Updates `serde` from 1.0.197 to 1.0.203
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.203)

Updates `serde_json` from 1.0.114 to 1.0.117
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.114...v1.0.117)

Updates `clap_complete` from 4.5.1 to 4.5.6
- [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/clap_complete-v4.5.1...clap_complete-v4.5.6)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 23:08:37 +00:00
.github fix dependabot config 2023-11-17 08:11:44 +01:00
src simplify help texts 2023-09-24 15:16:18 +02:00
.gitignore initial implementation 2023-09-24 05:38:22 +02:00
Cargo.lock Bump the minor group across 1 directory with 5 updates 2024-06-21 23:08:37 +00:00
Cargo.toml Bump the minor group across 1 directory with 5 updates 2024-06-21 23:08:37 +00:00
LICENSE add license and prepare for publishing 2023-09-24 06:23:20 +02:00
README.md update README.md 2023-11-17 07:16:19 +01:00
build.rs adapt release to completion generation 2023-09-24 14:58:17 +02:00

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"
  }
}