Stuart Dunkeld wrote: > On Fri, Feb 20, 2009 at 1:52 PM, <[email protected]> wrote: > >> I don't have /usr/local/bin for what it's worth - are you sure you had >> one? Why were you looking there anyway? > > I was trying to install TMS ('basic cvs style operations on Time > Machine volumes') to it using > sudo cp tms /usr/local/bin > as suggested at http://db.tidbits.com/article/9607
The reason that you ended up with a file as /usr/local/bin was entirely because of that cp command - because it doesn't have a trailing slash, and /usr/local/bin/ did not exist as a directory, cp simply copied the tms file to /usr/local as 'bin'. If you had run cp with a trailing slash, it would have errored saying that the directory does not exist. Hope that resolves your confusion! > >> Using touch or redirection in the terminal you could have >> inadvertently created it. Try having a look at it using 'cat -v | >> more' and see if it looks like a document. If you do the same on >> something that should be a directory you will be able to see the >> different patterns. > > Sounds plausible. I've deleted it, and used mkdir to create a > directory, and now it all works fine. I wish I had checked the create > date now. Perhaps I forgot to use sudo the first time I tried to do > the cp.. > > Cheers > > --stuart Regards, Ed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Sussex Mac User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/smug?hl=en-GB -~----------~----~----~----~------~----~------~--~---
