Skip to content

Request to update dfind --help #646

@SuhasSrinivasan

Description

@SuhasSrinivasan

Dear Development Team,

Thank you for developing mpifileutils.

It will be very helpful if the help information for dfind can be updated to reflect the functionality available in version 0.12.
Especially the --type C options.
Since this information is not current, and the first Google search result for "mpifileutils dfind" returns v0.9.1 docs, it is very challenging to learn the current functionality offered by dfind.

Current behavior

$ dfind --help

Usage: dfind [options] <path> EXPRESSIONS...

Options:
  -i, --input <file>      - read list from file
  -o, --output <file>     - write processed list to file
  -t, --text              - use with -o; write processed list to file in ascii format
  -v, --verbose           - verbose output
  -q, --quiet             - quiet output
  -h, --help              - print usage

Tests:
  --amin N       - last accessed N minutes ago
  --anewer FILE  - last accessed more recently than FILE modified
  --atime N      - last accessed N days ago
  --cmin N       - status last changed N minutes ago
  --cnewer FILE  - status last changed more recently than FILE modified
  --ctime N      - status last changed N days ago
  --mmin N       - data last modified N minutes ago
  --newer FILE   - modified more recently than FILE
  --mtime N      - data last modified N days ago

  --gid N        - numeric group ID is N
  --group NAME   - belongs to group NAME
  --uid N        - numeric user ID is N
  --user NAME    - owned by user NAME

  --name PATTERN - base name matches shell pattern PATTERN
  --path PATTERN - full path matches shell pattern PATTERN
  --regex REGEX  - full path matches POSIX regex REGEX

  --size N       - size is N bytes.  Supports attached units like KB, MB, GB
  --type C       - of type C: d=dir, f=file, l=symlink

  Tests with N can use -N (less than N), N (exactly N), +N (more than N)

Actions:
  --print        - print item name to stdout
  --exec CMD ;   - execute CMD on item

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