From f87c74566af53dc1bb33355f2a4b3d09201eff6e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 16 Jan 2023 14:08:37 -0400 Subject: [PATCH] close wontfix --- ...___--maxdepth_option_for_git_annex_find.mdwn | 2 ++ ..._5_dcda795ff29de150ced0c839c85f7837._comment | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find/comment_5_dcda795ff29de150ced0c839c85f7837._comment diff --git a/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find.mdwn b/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find.mdwn index c309f24911..d997ca6e2c 100644 --- a/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find.mdwn +++ b/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find.mdwn @@ -20,3 +20,5 @@ rather than: subdir0/file0 subdir0/file1 file2 + +> [[wontfix|done]] --[[Joey]] diff --git a/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find/comment_5_dcda795ff29de150ced0c839c85f7837._comment b/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find/comment_5_dcda795ff29de150ced0c839c85f7837._comment new file mode 100644 index 0000000000..20d2c3fd23 --- /dev/null +++ b/doc/todo/wishlist__58___--maxdepth_option_for_git_annex_find/comment_5_dcda795ff29de150ced0c839c85f7837._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 5""" + date="2023-01-16T18:03:26Z" + content=""" +Occurs to me that you can do this with existing options, eg to filter +out directories that are 3 or more deep: + + git-annex find --exclude='*/*/*' + +It won't display subdirectories that contain filtered out files of course. + +It would also be easy enough to write a wrapper around `git-annex find` +that processed its output and generated output like that. + +So I'm going to close this. +"""]]