Tuesday, August 11, 2009

Symbolic Links with 'ln'

To remember how it works, I say something in my head - I'll be making a link to x, and calling it y.

ln -s x y

So if you want to make a link to a directory called /PSO/achan/data-dumps, but you want to reference it from within your current project directory's data-dumps directory, you'd do something like:

ln -s /PSO/achan/data-dumps data-dumps

No comments: