#!/bin/bash echo "" datadir="`pwd`/data" cd "$datadir" (find -type f | sed 's/^\.\///g') | while read f do ff="${datadir}/$f" echo "$ff" done echo ""