Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will symbolic links created in unix (linux/osx) still working in windows?

Is it possible to create a symbolic link with relative path in linux/osx, move the complete folder to windows system and still be able to use the links?

Say a structure is following:

> ln -s ../c/e d

./a
  |
  |-/b
  |  |
  |  |-d -> ../c/e // symlink
  |  
  |-/c
     |
     |-e // original file

so ./a/b/d is a symlink to ./a/c/e. So will this still work on windows, if I will move the whole ./a directory there?

Update:

I found some related questions, but there is no information about relative paths and osx case or they are a bit outdated (2007):

  • https://unix.stackexchange.com/questions/63172/does-windows-recognize-linuxs-symbolic-links
  • http://www.linuxquestions.org/questions/linux-general-1/copy-symbolic-links-from-linux-to-windows-554000/
  • http://bytes.com/topic/unix/answers/620128-how-copy-symbolic-link-linux-windows
like image 530
static Avatar asked Nov 02 '22 13:11

static


1 Answers

No, on Windows the symbolic link will just show as a file containing the location of the file the symbolic link pointed to.

like image 114
richardd Avatar answered Nov 10 '22 19:11

richardd