You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find the setlocal syntax has limited utility without more granular globbing - one can only specify a single directory or a single directory and all its subdirectories.
I think if one could specify a max depth, it would be way more useful.
Consider a directory structure like /foo/bar/2024/202403/a. It makes sense to want to reverse the sorting order for the YYYY and YYYYMM levels to land on the newest date by default, but not for the last one. I think general globbing might be too costly, but perhaps something like setlocal [directory] [depth] [reverse/sortby/etc.] should be fast and easy to do.
The text was updated successfully, but these errors were encountered:
I find the
setlocal
syntax has limited utility without more granular globbing - one can only specify a single directory or a single directory and all its subdirectories.I think if one could specify a max depth, it would be way more useful.
Consider a directory structure like
/foo/bar/2024/202403/a
. It makes sense to want to reverse the sorting order for theYYYY
andYYYYMM
levels to land on the newest date by default, but not for the last one. I think general globbing might be too costly, but perhaps something likesetlocal [directory] [depth] [reverse/sortby/etc.]
should be fast and easy to do.The text was updated successfully, but these errors were encountered: