I was copying a file to /usr/local/bin from the commandline on a Snow Leopard Server 10.6 ... anyhow i typed the following ...
sudo cp ./le /usr/local/bin
Ouch ... that missed last forward slash from a bash shell screwed me. It wacked my directory with a copy of the le file renamed as bin. This is a pretty vanilla machine just used a fileshare. Any thoughts on how to recover? Noticed there is no lost+found ... err, at least I didn't see it in root directory.
le
into/usr/local/bin
, not overwrite it. Are you sure that you lost your bin directory that way?