Blame SOURCES/50-clean-files

0663da
function cleanFile() {
0663da
	if [ -d $1 ]
0663da
	then	rmdir $1 &>/dev/null && echo "Dir. $1" || return 0
0663da
	else 	rm    $1 && echo "File $1"
0663da
	fi
0663da
}
0663da
0663da
find register.content -mindepth 2 -depth -print | while read source
0663da
do
0663da
  dest=${source/register.content/}
0663da
  cleanFile $dest
0663da
done
0663da