Skip to content

Feature request: add rtk rewrite for stat #283

@oysi2025

Description

@oysi2025

Context

rtk discover --all shows stat as an unhandled command:

  • 88 invocations in the last 30 days
  • Typical usage: checking file permissions, ownership, timestamps

Request

Add an RTK rewrite/filter for stat output. The default output includes many fields (device, inode, links, access/modify/change times) that are rarely all needed.

Example commands

stat /home/ubuntu/services/oysi-static/docker-compose.yml
stat /etc/nginx/nginx.conf
stat -c '%a %U %G' /path/to/file

Found via rtk discover --all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions