+list_directories(){
+ (cd "$_DATA/$ITEM";
+ find ./ -type d \! -name .index -mindepth 1 -maxdepth 1 \
+ ) | cut -d/ -f2- | sort
+}
+
+[ "$FILTER" ] && list_fex="$(
+ fex='p'
+ STRING "$FILTER^" \
+ | sed -r 's;\^;\n;g; s;[]\/\(\)\\\^\$\?\.\+\*\;\[\{\}];\\&;g' \
+ | while read -r f; do
+ [ ! "${f#~}" ] && continue
+ [ "${f#~}" = "$f" ] \
+ && fex="/(\ttags=([^\t]*,)?)(${f})((,[^\t]*)?\t)/{${fex}}" \
+ || fex="/(\ttags=([^\t]*,)?)(${f#~})((,[^\t]*)?\t)/d; ${fex}"
+ printf '%s\n' "${fex}"
+ done \
+ | tail -n1
+)"
+
+list_fullname(){
+ sn="$1"
+ [ ! "${sn%%*/*}" ] && base="${sn%/*}" || base=.
+ file="$(printf '%s' "$_DATA/$ITEM/$sn".*)"
+ file="${file##*/}"
+ [ -e "$_DATA/$ITEM/$base/${file}" ] \
+ && printf '%s\n' "${base}/${file}"
+}
+
+list_filemeta(){
+ local meta base f fn file
+ base="$1"
+ meta="$_DATA/$ITEM/$base/.index/meta"
+ meta_dir "$_DATA/$ITEM/$base"
+
+ if [ $ORDER = Name ]; then
+ sort -k6 "$meta"
+ elif [ $ORDER = Length ]; then
+ sort -n "$meta"
+ else
+ cat "$meta"
+ fi \
+ | if [ "$FILTER" ]; then
+ sed -nr "$list_fex"
+ elif [ "${SEARCH#!}" != "${SEARCH}" ]; then
+ grep -viE "$(STRING "${SEARCH#!}")"
+ else
+ grep -iE "$(STRING "${SEARCH}")"
+ fi |cut -f6 | UNSTRING \
+ | while read -r fn; do
+ printf '%s\n' "${base}/${fn%${CR}}"
+ done
+}
+
+list_index(){
+ local meta
+ (cd "$_DATA/$ITEM";
+ find ./ -path '*/.index/meta'
+ ) | while meta="$(line)"; do
+ list_filemeta "${meta%/.index/meta}"
+ done
+}
+
+list_dateorder(){
+ while read -r sn; do
+ list_fullname "$sn"
+ done \
+ | xargs -rd'\n' stat -c '%Y %n' \
+ | sort -rn |cut -d/ -f2- \
+ | sed -r 's;\.[^\.]*$;;;'
+}
+
+list_items() {
+ local mode