Add sort by date

main
Nils Gerstner 1 year ago
parent 6c008c6be2
commit 594ff57d45

@ -14,7 +14,8 @@ _find_subfolder() {
local root_dir="${1}"
while read i; do
basename "$i";
done <<< "$(find "${HOME}/Documents/Code/GERSTNER" -mindepth 1 -maxdepth 1 -type d)" | fzf
done <<< "$(find "${root_dir}" -mindepth 1 -maxdepth 1 -type d -printf "%Ts\t%f\n" | sort -rn| cut -f 2)" | fzf
# find . -type f -printf "%Ts\t%f\n" | sort -n| cut -f 2
# fzf <<< "$(find "${root_dir}" -type d -mindepth 1 -maxdepth 1 -exec basename {} + 2> /dev/null)"
}

Loading…
Cancel
Save