Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MikeTheVike

macrumors regular
Original poster
Aug 8, 2009
136
4
I used the terminal command to add a symlink and it worked and the folder on my hardrive is mirrored in Dropbox. Now i want to remove it, but it isn't working.

ln -s /mac/folder /dropbox/folder

I tried to remove it with the following commands, but it always says "rm: /dropbox/folder: is a directory" and nothing happens. What am I doing wrong here?

rm /mac/folder
rm /dropbox/folder
rm /mac/folder/
rm /dropbox/folder/


Thansk for any help
 
rm /dropbox/folder
should work, because it is a symlink. In fact I just recreated what you said you did, and I was able to remove the symlink in the dropbox folder.

THe /mac/folder is presumably an actual folder, so if you want to nix it, you would have to use rmdir, or rm -r if it has any contents.

Now, if you are doing this on a different machine than where you created the symlink, it is highly likely that when dropbox replicated /Dropbox/folder, it replicated as an actual folder since a symlink back to the original machine would not work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.