snippet.sh: only dirs