Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Hint is backwards ...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Hint is backwards ...
Authored by: srowen on Aug 23, '03 04:14:31PM

No, the example in the hint is in fact backwards.

You're right about the syntax of ln, but "~/.Trash" is *not* the real directory being linked to. The point is that the trash is being moved to something like "/MyTrash", and "~/.Trash" is being changed to a symbolic link. "/MyTrash" is the source file, and "~/.Trash" is the target, so the arguments in the tip should be reversed.



[ Reply to This | # ]
Clarifications
Authored by: bkazez on Aug 23, '03 08:59:23PM

It appears I submitted my hint to hastily! First of all, those of you who said the order was wrong were correct. Quoting from "Sam's Teach Yourself UNIX":

Issue the ln command as ln -s .

And I discovered it takes two more steps to complete the location change.

So, to change the location of your trash, first type these two commands at the Terminal:

ln -s /path/to/new/trash ~/.Trash
mkdir /path/to/new/trash

Then, choose Force Quit from the Apple menu and relaunch the Finder.

Your Trash should now be successfully redirected.

Ben

[ Reply to This | # ]