Whamcloud - gitweb
LU-10522 utils: new --mindepth for lfs find 26/55226/14
authorMaximilian Dilger <mdilger@whamcloud.com>
Tue, 28 May 2024 17:55:27 +0000 (13:55 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Jul 2024 20:11:07 +0000 (20:11 +0000)
commit919f2c921866b8ab1f9cad3fe8d86eee7924e85d
treed8c38f7158fde92fe0e915310d6109bec23b5f48
parentd79bbae7a6e22b576e0d06f1d4eba28daf11456e
LU-10522 utils: new --mindepth for lfs find

Added [--mindepth | -d] option for 'lfs find' to print
only the results found after N levels. Similar usage to existing
mindepth found in find.

Signed-off-by: Maximilian Dilger <mdilger@whamcloud.com>
Change-Id: I7816e27355f6796edc8437f700342da1b7e564d0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55226
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/doc/lfs-find.1
lustre/doc/lfs.1
lustre/include/lustre/lustreapi.h
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c