Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [symbolic-link]

A symbolic link ("symlink") is a reference to a file or folder which may exist on the same or another drive in the system. Symbolic links allow users to create a more logical file layout, when the files themselves may be spread across multiple disks or relocated to more convenient locations.

0
votes
0answers
7 views

A list of all folders that can or cannot use symbolic link [on hold]

This is the second part of the question regarding symbolic link. Which folders can and cannot be moved without problems using symbolic links. For example I won't move program folders, program data, ...
6
votes
2answers
998 views

2-Way sync doesn't work in OneDrive when using symbolic links or junctions

I’ve already read a lot about the problems with Symbolic Links and Windows 10 on internet, but not about the phenomenon I run into now. So here it is… My goal is to 2-way sync a folder (‘My Music’), ...
1
vote
4answers
4k views

How to create a link to an executable which must be run in its own folder?

I have a program inside a folder like below. The objective is to have a link in the utilities folder so I can call it from any command line. C:\Utilities\Program\ program.exe ...
0
votes
0answers
20 views

Keeping application shortcuts from actually being stored on c:

All programs want that front row seat called the Desktop to put their shortcut or shortcuts on. Some programs do ask if you want a shortcut created. Others don't. So how can I create a symbolic ...
0
votes
0answers
32 views

Why does symlink to VLC break but but .bash_profile alias works?

problem I can execute VLC from the command line using a .bash_profile alias but not using a sym link. 📝 VLC is located at /Applications/VLC.app/Contents/MacOS/VLC on my machine sym link I tried ...
0
votes
0answers
16 views

How to open actual folder that is symlinked (with “real” path) on windows 10

I have setup some symlinks on my system using a script. I actually want to use these symlinks like a shortcut so that when I open the symlink in windows explorer it takes me to the real folder, not ...
4
votes
2answers
368 views

using junctions and moving the Recycle Bin to the right partition

I have got two partitions on a PC running Windows XP: C: system partition D: data partition Usually every user has got his user profile on C:\Documents and Settings\<user> But I have moved ...
164
votes
10answers
296k views

How to copy symbolic links?

I have directory that contains some symbolic links: user@host:include$ find .. -type l -ls 4737414 0 lrwxrwxrwx 1 user group 13 Dec 9 13:47 ../k0607-lsi6/camac -> ../../include 4737415 ...
0
votes
0answers
5 views

How to create 'symbolic link' to another URL on GitHub pages?

Say I want a URL on my site act like a sumbolic link to https://www.google.com/somefile.txt. So someone could write wget https://example.github.io/link and they would download somefile.txt instead of ...
0
votes
0answers
24 views

Make Linux created symlinks work in Windows

im working on an windows host with linux vm & git. Is it possible to make linux created symlinks somehow work in windows 10? I have some linux symlinks from our git repository. In cmd it shows ...
1
vote
0answers
20 views

Sane symlinks to parallelize Windows and Ubuntu homes on WSL?

I'd like to link up, insomuch as is possible, my Windows home folder with my WSL Ubuntu Linux home folder. Up to now I've pretty much just gone into Ubuntu bash on WSL and just created a symlink to ...
52
votes
3answers
98k views

rsync and symbolic links

I want to backup my home directory to an external drive nightly using a cron job to execute rsync. I am unsure of the exact behavior of rsync's symbolic link flags. rsync's -a flag includes the -l ...
0
votes
0answers
13 views

Can I replace a program folder with a symbolic link to another drive?

I'm using Windows 10. I want to free up some space on my C drive, so I plan to move some programs in C:/program files(x86) to an external drive and create some symbolic links. Is this workable?
2
votes
1answer
4k views

How to delete a broken symbolic file link in Windows

So I have a file in a directory with an unicode name. I wanted to create a link to this elsewhere, but when I tried to do it with a command like mklink file "S:\ディレクトリ\target" in cmd.exe, the result ...
79
votes
4answers
193k views

How to create a Symbolic Link on Windows 10?

Was reading http://www.dropboxwiki.com/tips-and-tricks/sync-game-saves-across-multiple-computers and I know junction/mklink worked in Windows 7 as well, but seems like the junction command has been ...
0
votes
1answer
44 views

Dynamic linking directories

Is there any way I can create a link, that dynamically updates. My specific situation is, that I have multiple exercises (directories) and I want to link to the latest one: exercises/ │ exercise_01/...
0
votes
0answers
56 views

Shortcut or symlink within OneDrive

Is it possible on Microsoft OneDrive 2018 to have either a shortcut or a symlink (e.g. made using mklink) to another folder within the same OneDrive sync? Specifically, is this possible: OneDrive ├╴ ...
31
votes
6answers
126k views

Creating a symbolic link to mapped network drive in Windows

I am having an issue creating a symbolic link on Windows 7 Ultimate. I want to map a folder from a mapped network drive into My Documents. mklink /D "C:\Users\Vegard\Documents\Virtual Machines" "Z:\...
0
votes
0answers
49 views

Make Link missing in 3.8.6. Nemo in Linux Mint Cinnamon 19?

So the thing I wish to do is create a symbolic link/shortcut to a destination not directly on a hard drive, but an external one. In order to do this, I want to select Make Link from the right click ...
0
votes
1answer
35 views

How to copy directory to destination that destination have same link name with source directory's name?

I have a problem. When i copy a folder to destination for that destination has link with source folder name, the link change to directory $cd /home/srr7 $mkdir jetty_home123 $ln -s jetty_home123 ...
35
votes
7answers
27k views

Does Windows have the ln -s or equivalent?

I need to link a file to C:\Windows\System32\drivers\etc\hosts How can I do that with Windows ? Is there a soft link such as ln -s or equivalent in Windows ?
4
votes
2answers
2k views

Windows Symlink & working directory

I have a directory called apps/myapp/ with a file myapp.exe which uses myapp.dll and some other dlls. Now lets say i want to symlink this to a directory, like one would do in linux. bin/myapp.exe =>...
0
votes
1answer
4k views

Cannot remove a directory symbolic link on Windows

I created a directory symbolic link that points to an external drive: mklink /D C:\local\work F:\work I'm trying to remove it. Opening cmd shell as administrator and running the command: rmdir C:\...
0
votes
1answer
803 views

Filezilla won't follow symbolic links

I'm having some difficulty getting FileZilla to show the contents of a folder that is the target of a symbolic link. In the screenshot commonfiles and db_uploads are symlinked folders that show as ...
21
votes
5answers
34k views

Checking where a symbolic link points at in Windows 7

In Windows 7, how can I check if a file is a symbolic link or not, if a folder is a junction or not, and how can I check where they are pointing at (in case they are symlink/junction). Both in ...
1
vote
1answer
103 views

asterisk: error while loading shared libraries: libasteriskssl.so.1

I am using Ubuntu 14.04 and followed the instructions to install asterisk from this link Ubuntu 14.04 Asterisk server installation All worked well until I run asterisk and get a shared lib error. ...
22
votes
3answers
34k views

How do I change target of symlink in windows

Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with: ln -f
0
votes
2answers
44 views

Readlink not working over ssh

I'm trying to send a bash command over SSH using ssh -q $REMOTE -x "command". Because I have multiple bash commands, I'm using << EOF. The problem is that the readlink command returns me an ...
1
vote
0answers
33 views

system.ntfs_reparse_data: Operation not supported - Ubuntu 18.04

I am trying to use this guide: https://serverfault.com/questions/165389/create-ntfs-symbolic-links-from-within-linux To try and copy reparse data from a symlink created in windows to another file (...
0
votes
1answer
541 views

Removing certificate and re-running update-ca-certificates leaves lingering symlinks

I have removed a (root) certicate, and re-run update-ca-certificates: $ sudo rm /usr/local/share/ca-certificates/mine.root-ca.crt ls -l /usr/local/share/ca-certificates/ total 4 -rw-r--r-- 1 root ...
299
votes
7answers
269k views

How can I delete a symbolic link?

I created a symlink using mklink. Now I need to change it but I can't figure out how to delete it so I can recreate it correctly.
58
votes
2answers
36k views

Permission to make symbolic links in Windows 7?

How can I grant a particular user the permission to create symlinks in Windows 7? I've searched through "Group Policy" and Google, but haven't found anything. On a side note, is there a way to ...
0
votes
0answers
20 views

Cannot update Symbol Links - Permission Denied

There's a symbolic link on my Linux machine which I want to update and point it to another location however I get permission denied error even though I have rwx permissions for the symbolic link: $ ...
0
votes
1answer
96 views

7zip force ignore NTFS junctions

Windows 1803, 7z 18.05 Trying to archive and compress a folder structure with multiple NTFS junctions referencing parts of the said structure (i.e. no "outside" links) - any possibility to compress ...
2
votes
0answers
84 views

Make all commands obey symbolic link directory hierarchy

At least in bash, by default, the option set +P is set, which makes certain commands like cd, pwd, and tab-completion follow the symbolic link hierarchy, rather than the physical hierarchy. But, lots ...
14
votes
4answers
18k views

Ubuntu + latest samba version, symlinks no longer work on share mounted in windows

I just apt-getted (apt-got?) the latest software for my Ubuntu 9.10 linux box, and I noticed that samba was the included in the update. After the install, the symlinks in my home directory no longer ...
67
votes
7answers
88k views

How do I create a link in Windows 7 home premium as a regular user? [duplicate]

I am a Linux guy and as such I am very lost when I try and do anything is Windows. I am trying to create the following link: mklink /d C:\backup\data \\myth\backup\data But I do not have sufficient ...
0
votes
1answer
149 views

How to make rsync copy to symlinks?

I have to push data from a server to another. On the source, I have a folder (named vhosts) containing files, folders and symlinks. I want all this to be copied as files (not as symlinks) On the ...
1
vote
2answers
632 views

How to configure bash to always resolve full path for symlinks [duplicate]

Moderators: THIS IS NOT A DUPLICATE!!!! Please remove the duplicate mark. The answers linked to do not, actually, answer my question, the way the accepted answer does. Google only points at the other ...
1
vote
1answer
166 views

Symbolic Link Directory (mklink /D) The system cannot find the path specified

When I do this command: mklink /D "C:\Users\user\Desktop\MyDocs\VSCode" "C:\Users\user\.vscode" I get the error : "The system cannot find the path specified." I run cmd as admin. I am able to ...
52
votes
2answers
6k views

In a symlink pointing to '127.0.1.1:+xxxxx', what is the plus character for?

On my Linux filesystem, a symlink points to 127.0.1.1:+xxxxx. Why the plus sign? Could there also be a minus? Why not just 127.0.1.1:xxxxx?
0
votes
1answer
31 views

How to create a symbolic link that links one file into every subdirectory including children

I mistakenly asked this question on StackOverflow, and they suggested I ask it here instead. I've read a lot of the other posts here, and they all seem to be answered successfully, but I just can't ...
0
votes
2answers
41 views

How to change the drive in a symbolic link?

One of the computers went down in puff of smoke and I have connected the HD to a USB adapter to extract all the user data. The USB drive show up as Drive G: but all symbolic links points to the ...
-2
votes
1answer
506 views

I need to delete an MKLINK /J in Windows 10 18242.1000.180914-1435.RS_PRERELEASE_CLIENTPRO_OEMRET_x64FRE_ES-ES

yesterday (Madrid`s time) I've created, using Admin elevated Command Prompt the following two junctions (they´re of course in castilian), in order to try to install the new Office 2019 C2R on P: ...
0
votes
1answer
39 views

Make stow create symlinks to absolute paths?

I like using stow to store dotfiles in a separate directory that I can track with version control and that is stored on a separate (internal) disk. When I stow a directory, I notice that stow creates ...
1
vote
1answer
62 views

In Windows 10, is there a way to do a “reverse lookup” for a folder junction?

In other words, I know that someplace a junction exists that links to folder X - how can I find that junction? Or, since there could (theoretically) be more than one junction to this folder, how can I ...
2
votes
0answers
61 views

Mass replace drive letter on symlinks?

A drive letter changed (and I need to keep that change). I had used Link Shell Extension to relocate many things before this happened, so I now have a lot of symlinks pointing to locations at the old ...
48
votes
4answers
78k views

View a list of symbolic links on system?

Is there a way to see a list of all the symbolic links that are active on a Windows machine?
1
vote
2answers
11k views

symbolic link for existing directory

I am trying to change /var/log directory to symbolic link. As /var/log exists, I tried as below. # cd /var # mv log log.bk (1) # ln -snf /path/to/somewhere/var/log log (...
0
votes
1answer
39 views

How do I automatically generate symlinks?

Not sure if this is the right spot to post this (if it isn't, sorry) Due to some restrictions (and preferences) I'm finding myself at a dead end. Machine is running ProxmoxVE (Debian/QEMU based ...