|
@@ -10,6 +10,7 @@ fi
|
|
|
|
|
|
. "${BASH_SOURCE[0]%/*}"/helpers/common.sh
|
|
|
. "${BASH_SOURCE[0]%/*}"/helpers/awk.sh
|
|
|
+. "${BASH_SOURCE[0]%/*}"/helpers/find.sh
|
|
|
. "${BASH_SOURCE[0]%/*}"/helpers/fzf.sh
|
|
|
|
|
|
stderr_deps=/dev/null
|
|
@@ -186,14 +187,7 @@ then
|
|
|
fi
|
|
|
(
|
|
|
cd "$LOG_ROOT"
|
|
|
- find . \
|
|
|
- \( -type l -o -type d \) -wholename './????????_??????_?????????' -prune -o -type d "${find_name[@]}" \( \
|
|
|
- -links 2 \
|
|
|
- -o \( \
|
|
|
- -links 1 -exec bash -c '! [ "$(find "$1" -mindepth 1 -type d)" ]' find-bash {} \; \
|
|
|
- \) \
|
|
|
- \) \
|
|
|
- -print0 \
|
|
|
+ find_w0_leaf_directories \
|
|
|
| sort_rw0 "$sort_opt" \
|
|
|
| head -zn "${NUM:--0}" \
|
|
|
| fzf_rw0_inplace_preview "2" \
|