lumiera_/admin/treeinfo.sh
Christian Thaeter 0f4c88bb0f Fix treeinfo.sh sorting order
only sort by the first field (that is the filename)
2011-05-12 19:30:36 +02:00

3 lines
128 B
Bash
Executable file

#!/bin/sh
COLUMNS=$(tput cols)
find -name DIR_INFO -printf '%-30h: ' -exec head -1 {} \; | sort -k1,1 | cut -c 1-${COLUMNS:-92}