Your idea is good, but here is my hint:
Code:
tar ztvf ft.tgz | gawk '{print "rm",$6}' > script.sh
then double check the resulting script.sh and when you are absolutely sure, execute
I'm not totally sure of $6 in the awk statement, but you can easily check that it matches the filename by issuing the command (alone)
I guess the untarred files do not have a relative path, that is they don't look like "some/dir/filename" but only "filename", otherwise we can parse the output of the above command to change the directory name accordingly.