[LU-16561] allow 'lfs find -printf' field widths Created: 15/Feb/23  Updated: 19/Sep/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.16.0
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy, lad23dd

Issue Links:
Related
is related to LU-15504 "lfs find" is missing "-ls" support Open
Rank (Obsolete): 9223372036854775807

 Description   

For implementing "lfs find -ls" it would be useful to allow specifying the field width for the "%x" operators, rather than forcing the use of a full tabstop with "\t" (which is often too large a field width and doesn't always work properly).  Something like "%12s" to have the file size printed with 12-char fields (leading space) or "%06U" to have the file UID printed with leading zeroes.


Generated at Sat Feb 10 03:28:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.