Code:
find ./ -name $1 | sed "s@^./@@" > .filestobedeleted
If your find command when using t\* works for you then what you have there looks good enough. Are you remembering to escape the wildcard when passing it to the script? (eg ./yourscript.sh 't\*')
I would generally recommend escaping the entry within the find too though:
Code:
find ./ -name "$1" ...