do it all in a /tmp directory and don't rm the directory afterwards.