Almost-minimal filesystem based blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
262 B

#!/bin/sh
if [ ! "$1" ]; then
echo "Usage: wrt findprop <property>"
exit
fi
# find all the marker files and get the name of
# the directory containing each
# TODO: handle the case where nothing is found
find . -name "$1.prop" | xargs -n1 dirname
exit 0