Simple grep question, but I'm out of practice

Never mind, I did more research, and now am using grep -v './temp/', dumping it into a new text file, then using mv -f to make that the original file. Thanks for reading!

---------------

Hi folks, I haven't done any scripting in years, and now I have a problem. Our backup tapes are filling up, and I'd like to remove an entire directory from the backup. The script we use creates a file for the backup (/tmp/backuplist), and I'd like to use grep to help me remove anything in the "/temp" directory. I've attached the script if you'd like an example.

If someone could tell me the syntax I'd need to do to remove this from my backup, I'd greatly appreciate it - thank you!

Mike