Creating a link to name changing directory

Posted by groove1534 on Super User See other posts from Super User or by groove1534
Published on 2012-07-04T14:20:46Z Indexed on 2012/07/04 15:18 UTC
Read the original article Hit count: 202

Filed under:
|
|
|
|

I have an Ubuntu 12.04 installed using wubi + Win7.

I'm trying to create a link to "my documents" directory which located in my C drive: C:\Users\Myuser\My Documents\

Since the Ubuntu is installed in D:\, which is the "host", my C drive is accessible via /media/some_changing_hex. This hex get changed each time I restart my machine. So I need, somehow, to create a link that uses regex OR a link that somehow gets the the first (in this case - only) subdirectory in /media (something like all_subdirectories[0]).

So how do I do that?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu