Symlink to hidden file I have 2 macs, and use Dropbox a lot. On my MacBook I have one folder synced with Dropbox (through a symlink, ln -s ~/folder ~/Dropbox) that is actually in my ~/Library directory, so it's hidden. It was a while ago, but I somehow got symlinks to work for it (I cant remember how now!). On my new iMac when I do it, the symlink file won't work, because it's linking to a file it doesn't have permission to see (needs sudo password).

Can anyone remind me how I did this (or show me a new way?).. Thanks

EDIT:
As pointed out, ~/Library is not hidden at all :) ... I have no idea why Dropbox won't upload it then. This happened before on my MacBook, and I can't remember what I did to fix it..
Symlinks work for hidden files. 

When you 

ln -s ~/hiddenfile  ~/folder/hiddenfile

there is a new file. But of course, you can't see it. 


  If the files name begins with a point (".vimrc"), you can't see it
  because finder doesn't show files with a point before the actual name.