#!/bin/sh

# $1 is a simple directory name with no slashes in it

root=$1

find $root -mindepth 1 -type d \! -empty \
	| sed "s/^$root\///" \
	| tr "/" "."

