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

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
6 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 ├╴ ...
-1
votes
0answers
19 views

WinSCP does not duplicate symbolic links of directories but makes deep copy instead

I have a SFTP connection to a Unix server, which contains several directories, some of the directories are real directories, whereas some are symbolic links to other directories. I would like to copy ...
0
votes
0answers
19 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
22 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
12 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
34 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 ...
0
votes
1answer
28 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. ...
0
votes
2answers
33 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
29 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
0answers
16 views

Use `cp -s --parents` to make symlinks

cp -s --parents -t DEST_DIR /SRC/PATH1 /SRC/PATH2 I use above command to make symbolic links referring to a bunch of source paths, with all the intermediate directories structure of the source paths ...
0
votes
0answers
15 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
56 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 ...
0
votes
1answer
54 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
1answer
89 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 ...
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 ...
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
28 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 ...
2
votes
0answers
80 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 ...
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 ...
1
vote
1answer
58 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
1answer
320 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: ...
2
votes
0answers
60 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 ...
0
votes
1answer
38 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 ...
0
votes
1answer
17 views

How to prevent symbolic directory links from getting deleted during Windows or Visual Studio updates?

I have created symbolic links using mklink /d for both C:\Windows\Installer and C:\ProgramData\Package Cache in order to save SSD space. From time to time, these folders get recreated locally (...
0
votes
0answers
59 views

Why is a PHP include file not found on Linux Apache through a symlink?

In /home/richard/public_html/tinytest.php: <?php // Note: reuse is a symlink to /home/r/reuse require("reuse/Test.php"); ?> The symlink /home/richard/public_html/reuse was made like this: <...
0
votes
0answers
115 views

Symlink all files in a folder to another folder on windows?

I have a project stored at /website. There is a hidden folder inside of it called .modman which contains a folder named test content of /website/.modman/test: foo/index.html bar/test/index.html Is ...
0
votes
1answer
22 views

How to unlink a secondary non-system drive's “Users” folder shortcut? [duplicate]

I have a Windows 10 system SSD (C:) and a non-system HD (D:) in two partitions of the disk (total of 3). D used to be the old system drive before installing Windows 10 on the SSD, which may explain ...
0
votes
0answers
55 views

accessing symlink in vmware shared folder from windows guest

I have a linux host and windows 10 guest. The shared folder has a symbolic link to a file outside the shared folder. The symbolic link shows up in windows but I can't access the contents of the file. ...
1
vote
0answers
32 views

Deceiving the operating system by replacing System Volume Information folder with a symbolic link [closed]

Based on what I learned from this webpage, we can delete System Volume Information folder on a hard disk drive by executing these three commands: takeown /f "F:\System Volume information" /a /r /d ...
0
votes
0answers
102 views

Msys2 create symbolic link with no admin privileges

I mean to create symbolic links in Msys2 (currently using the version from PortableApps). I only get files copied, no symlinks. What I tried: Uncommenting line MSYS=winsymlinks:nativestrict in all ...
1
vote
1answer
180 views

Removing file throws error: “Too many levels of symbolic links” on Ubuntu 16.04

After updating my linux-headers, I recognized problems with an old version that also blocked apt-get. I tried to remove the sources manually but I'm stuck at this point. cd usr/src/linux-headers-4.13....
1
vote
0answers
16 views

Website: Error 403 on Symlinks Pointing Outside of Webroot

I am trying to create a website in the latest version of Fedora Linux. I want the website to point to something in my home directory. After doing some Googling, I can acheive this with a SymLink. The ...
0
votes
1answer
61 views

Directory shortcut for Windows console

I would like to create a shortcut to some directory which I can use in Windows console with a cd command. So I create a directory symbolic link: mklink /D link_name c:\some\path /D is for a ...
0
votes
0answers
31 views

Getting the real path of the current directory when using symlinks [duplicate]

So I just found out that my build fails on the build server (Windows 2008 R2) because the workspace is located on a different drive using symlinks. The build path is C:\Program Files (x86)\Jenkins\...
0
votes
1answer
189 views

-bash: /usr/sbin/mail: No such file or directory

I've been having mail issues for a little while now and decided that today I was going to fix them! Well now I'm stuck. The issue was, when I type mail it doesn't display my mail, looking at my ...
0
votes
2answers
41 views

ls -l shows symlinked directory with two trailing slashes

I just copied my ~/.config directory to another and symlinked it back to $HOME. When I run ls -l this shows up like this with the double slash at the end: lrwxrwxrwx 1 lud lud 22 Jul 23 20:25 ...
1
vote
1answer
73 views

Strange Undeletable Folder

Not sure if I have malware or not, but I discovered this folder as I was working on my website: Seems pretty normal, right? Well, when I tried to delete it, it was apparently symlinked to the actual "...
0
votes
0answers
25 views

Creating symlink

I have apache server running on Ubuntu 16 server which is totally headless,i have created a seedbox onto it under user USER1 My download directory is /home/USER1/rtorrent/download For some reason so ...
0
votes
2answers
765 views

Clients can't create symlinks on Samba share

As recommended in many answers to questions about samba shares and symlinks, I have tried explicitly enabling "follow symlinks" (although documentation says it is on by default) as well as enabling "...
2
votes
3answers
535 views

How to parse a directory recursively and MKLINK each file into a target path with the same tree structure

I have a directory a\ containing files and sub-directories that I want to copy into path b\ where instead of copying the files I want to perform a call to MKLINK <link> <target> on each ...
0
votes
1answer
669 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 ...
0
votes
1answer
48 views

How to make a windows program see a different view of the hard drive

I'm looking for a way to make some of my windows programs see a different view of the hard-drive as follows - Let's say I want to make the contents of c:\folder1\folder2 look like d:\folder3 to one ...
1
vote
3answers
349 views

How does one migrate from HDD to SSD+HDD without having to reinstall all the programs?

Okay, so I currently have a 4 TB HDD split into 2 partitions, one of which is my C:\ drive. I run Windows 10, and have lots of programs installed. I also have a 250 GB SSD as a secondary drive, but I ...
0
votes
0answers
52 views

ROSConsole Build OSX Boost Undefined Symbol Linking Error

I'm trying to build ROS for OSX and having an issue with a undefined symbol for boost. Boost is latest version. How do I fix this so I can finish compiling?! Note: I do not want to edit any source ...
1
vote
2answers
488 views

Unlink (remove) directory symlink

I did: ln -s /DATA/ ./base_DATA/ and I'd like to unlink. Simply: unlink ./base_DATA but... unlink: cannot unlink './base_DATA': Is a directory According to this answer (and many other online) the ...
0
votes
0answers
26 views

symbolic link preventing installation of new programme

On my Win10 desktop system I have a symbolic link between a flightsim program (XP11) on a dedicated drive, to massive scenery data files (tiles) on a different (larger) dedicated drive. The program I ...
0
votes
0answers
69 views

Access the Symbolic link connected mount device on server by smb(windows)

I have Nas server which has symbolic link to mount device connected by SATA. Like this /data/myNas/myfile.avi -> /mnt/externalDisk/myfile.avi (the file is on Nas) /mnt/externalDisk/myfile.avi (...
0
votes
1answer
398 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 ...
1
vote
1answer
442 views

Should I create a junction and symlink to a directory at the same time?

OS: Windows 10 Home. After reading the difference between a directory junction and a symlink, it is clear, that these two things are different. What is not clear after reading How do I create ...
1
vote
0answers
22 views

Use shared directory as read-only source of multiple distinct target directories - Windows 10

I have a source folder which I want to use as a starting point for multiple distinct target folders. This can be trivially done by copy-pasting the source folder, then just using the new directories. ...