i was going to say i couldnt see the point in it, just leave the old stuff up until you're ready to upload the new, but that is the way you'd do it, google for robots.txt and google and you'll come up with plenty of ways to remove stuff, i've removed all 2nd layer links from google for my website using it