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
1answer
13 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
17 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
29 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 ...
51
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
14 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
70 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
51 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
55 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
57 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
34 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
14 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
18 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
34 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
19 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
28 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
46 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
89 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
14 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
53 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
30 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
80 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
31 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
68 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
24 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
371 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
367 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
0answers
436 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
46 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
199 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
45 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
292 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
25 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
60 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
0answers
263 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
230 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. ...
0
votes
1answer
723 views

Virtualbox Ubuntu 18.04 permission issue to symlinked share host folder

Trying to get a Ubuntu 18.04 installation for Wordpress on a Win 10 host. The host shares a folder with the VM, which is the root to multiple projects. This is a fresh VM built from the std Ubuntu 18/...
1
vote
0answers
216 views

Tried to backup iPhone to external drive by mklink/J. Now it won't backup at all

I intended to use this command: mklink/J "C:\Users\DELL\Appdata\Roaming\Apple Computer\MobileSync\Backup" "G:\iPhoneBackup" to directly backup my iPhone to the folder iPhoneBackup on an external ...
0
votes
1answer
26 views

Create Symbolic Link as Regular user

I need to create a Symlink that lives in user roaming AppData, and points to a folder on another local drive, which is user specific. I have tried both mklink and New-Item -ItemType SymbolicLink in ...
0
votes
1answer
487 views

csh: How to check if symbolic link exists?

Symbolic link was create by command ln -s. Tried if ( -e "$link" ) and if ( -f "$link" ). But it's not working.
1
vote
0answers
31 views

Is there a way to ignore symlinks when copying from Linux to Windows?

Ignoring symlinks when copying from one Linux machine to another is easy: rsync -a --no-links <usr>@<ip>:<source> <destination> For Linux to Windows, I'm currently using PSCP ...
1
vote
1answer
181 views

What is the difference between /sys/class/block and /sys/block

When I do an ls of either dir, their contents are very similar /sys/class/block $ ls /sys/class/block dm-0 dm-3 loop1 loop4 loop7 ram10 ram13 ram2 ram5 ram8 sda1 sda4 dm-1 dm-4 loop2 ...
1
vote
2answers
273 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 ...
0
votes
0answers
23 views

Wrap or proxy a system command to add a parameter

Can I use an alias or symlink, or otherwise wrap the OS X command fsck_hfs to always add a -c parameter (to allocate cache memory) when diskutil calls fsck_hfs? Since diskutil (and the GUI Disk ...
0
votes
0answers
40 views

Move SoftwareDistribution Windows update folder [duplicate]

I have to free some space in my small SSD with Windows 10, can I move SoftwareDistribution folder of windows updates to another volume using link? If yes, may I use symbolic, hard or junction?
0
votes
0answers
40 views

Symlinks on Windows WITHOUT UAC popup

I have a Windows commandline tool for developers (maybe a redundant point). This tool creates symlinks for certain tasks. I'm looking for a way to have the tool install so that it can create ...
0
votes
3answers
291 views

Linux symbolic links: how to go to the pointed to directory?

I have a project in its own directory: /dir/to/project/ I have a symbolic link to that directory on the desktop: /home/user/Desktop/project/ When I double click on that link, the directory ...
2
votes
0answers
105 views

What's going on with this reparse point created by mklink?

Here's some odd behavior I encountered with mklink which ships in Windows since Vista. I suspect if may be a defect in mklink or even as deep as the NTFS file system driver, but the behavior could use ...