hpc / hpc/mpifileutils

Allow custom fields and format when printing file info

Open
#129 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
200
Forks
85
Avg merge
3d 21h
Merged PRs (30d)
2

Description

When printing file info to the screen or writing it to a text file, it would be nice to allow the user to specify the fields and formats they'd like to use. This could be done with printf/strftime-style format string, e.g.

%F - full path of file
%f - basename of file

%m - mode in octal
%M - mode in long dash form -rwxr-x---

%s - size in bytes
%S - size as float with human-readable units

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by locating the file-info output path and any existing screen or text-file formatting tests. Done means users can select the listed fields and formats for both output destinations, with behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.