Blame SOURCES/50-clean-files

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