I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.
I typed:
rm -rf /opt/local/bin mysql*
instead of
rm -rf /opt/local/bin/mysql*
This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.
Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folder?
If I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

/opt/local/binis usually your macports directory so (unless you compiled stuff into there) a complete macports reinstall (including apps etc...) could do the trick. You'll of course lose everything you've done under macports. BTW: voting to migrate to superuser.com. – ChristopheD Apr 2 '10 at 23:36