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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
8 views

Recursive sftp without following symlinks?

Using sftp, how do I copy a directory, recursively, without following symlinks? sftp(1) says, get [-afpR] remote-path [local-path] Retrieve the remote-path and store it on the local machine. ...
0
votes
0answers
15 views

Symbolic links and folder permissions

OS - Win 2012 problem - server has application that was installed with a service account. application writes huge dump files to C:\Users\xxxx\AppData\Local\Temp instead of the application drive which ...
2
votes
1answer
46 views

Windows symlink to user documents dir issue

I'm trying to make a symlink for a steam game saves dir to my documents dir which I'm backing up (and want these saves there). Running Windows 10 10.0.18363 Running CMD in admin mode with the ...
0
votes
0answers
15 views

Relative Path and Windows Junction

I have made a Windows junction on my desktop that points to a nested eclipse folder. When I open eclipse, the junction path, my desktop, is used for relative paths, instead of the path that the ...
1
vote
0answers
11 views

MKLINK /D Symlink Weird Behavior Windows 10

I have a home file server running Windows 10 Pro. On my server PC I have a folder: F:\DATA\BACKUPS set up as a hidden share \\SERVER\BACKUPS$ I have a network folder called D:\Files shared as \\...
0
votes
1answer
20 views

Apparmor DENIED ACCESS to soft links

I am using Ubuntu 20.04 (Focal Fossa) but this issues has been happening since I am using an old Ubuntu (19.04 & 19.10). So I have 2 hard disk drives - one is an SSD (small size), the other a SATA ...
0
votes
0answers
15 views

Dovecot 2.2 - can diffie-hellman params file be symlinked to pre-existing one?

I'm installing Dovecot 2.2 (limited to 2.2 in CentOS 8), on a VERY lightweight server (1GB RAM, 1 core). The problem I'm facing is that Dovecot insists on generating its own Diffie-Hellman parameters ...
-1
votes
0answers
20 views

Does Google actually duplicate files? [migrated]

When I duplicate a file in Google Drive (click "Make a copy"), is it actually duplicated on their servers? Or is it just a softlink to the original file?
1
vote
0answers
14 views

Odd behavior for NTFS symlinks? Can use “TYPE” but not “MORE”

I've created a symlink to a file on an NTFS file system (Windows 7). If I use the more command to view the file, it doesn't display anything. If I use the type command, it works as expected. Here's ...
0
votes
0answers
36 views

Syncing Android phone to symbolic link folder on PC

My SyncMe Wireless Android app has multiple 2 way sync jobs between the micro SD card on the phone and my WD external drive on the Windows 10 PC. Currently, in SyncMe, there are multiple syn jobs ...
0
votes
0answers
10 views

TortoiseSVN doesn't see changes for SOFT symlink (symbolic link) file, but does for HARD link

I use latest TortoiseSVN, and I have a symlinked (SOFT symlink) file in the repo and when I edit the original file, the change is not detected in this SVN repo by TortoiseSVN. However, for hard ...
0
votes
0answers
12 views

Elixir Phoenix and Symlinks on Windows SMB Drive

So I have an interesting issue that I just can't figure out why I'm getting this and what to do. So basically I store all my development projects on my Synology NAS for local access between my ...
0
votes
0answers
20 views

Batch creating symbolic links of every file in a folder and its subfolder with relative Path

I have the two Folders, Source and Destination, both within Subroot folder, within a Root folder. Source has subfolders The file tree look something like this Root\Subroot\Source\Subfolders Root\...
0
votes
0answers
12 views

How to recursively make symbolic links that mirror another folder only when files do not exist?

I currently have a folder and directory structure like this _data/navigation.yml _data/contact-us/mail.yml _data/contact-us/address.yml _data/pricing/appetizers.yml _data/pricing/beverages.yml _data/...
0
votes
2answers
81 views

Replace hard disk preserving symlinks

I have to replace my secondary hard drive because it seems to have some problems. I would like to clone the partitions to a new hard drive. I have some symlinks that point to the secondary HD (e.g. I ...
1
vote
0answers
19 views

Should I replace my applications' bundled Python directories with links to a single Python library? [closed]

Recently, I reinstalled Python on my Windows 10 PC, and after a minor issue (the installer didn't automatically add itself to my PATH for some reason, so I had to manually add it myself), I decided, ...
0
votes
0answers
17 views

Windows 10 Create Symlink directory which has user folder in target

I have an old application which has a file location hard coded on C, for example C:\apptmp. However trying to get this to work on Terminal Server type env. has proven to be a challenge since the ...
0
votes
1answer
30 views

Windows 10 - Possible to shortcut AppData folder to external drive?

Backstory C Drive >> internal 256gb solid state drive - Windows installed here D Drive >> internal 1tb 7200rpm drive - strictly extra space I tried to create a symbolic link from C:/Users/Jackson/...
0
votes
0answers
23 views

create mklink /j to offline system

Is there a way to create a directory junction inside an offline system installed on a vhd and mounted as a hard drive ? I need to redirect some crucial windows system folders to elsewhere in another ...
1
vote
1answer
20 views

How to chmod a file into a symlink?

When creating a symbolic link on a samba share from one point to another point (on the same drive), the file holding the symbolic link gets messed up on other clients but not the original client. For ...
0
votes
1answer
33 views

Creating symlink while partition is not mounted

I currently have an encrypted partition on my Linux (elementary OS), which contains most of my data. I mount it into /media/veracrypt2/manually at each start-up, but sometimes I just don't need it. ...
1
vote
1answer
37 views

Windows archive symbolic links

Is Windows able to store Symbolic links or Hard links in archive files? I see 7-Zip has these options: -snh : store hard links as links -snl : store symbolic links as links but trying them with Zip,...
2
votes
0answers
34 views

Copy symbolic link and its target subdir to new dir

I have a dir with a symbolic-linked subdirectory: greg:/testA> ls foo -> alice alice/ I need to copy the link "foo-> alice" (preserve it at destination) AND the subdirectory alice/ to a new ...
0
votes
0answers
14 views

3 'symlink' files get added every day

Since last week every day 3 files are added to 1 folder: The content of the first file is this: !<symlink>/drives/C/Users/michel/Desktop/NULL (the null is added by notepad++) They get added ...
1
vote
1answer
67 views

Getting and understanding a listing of NTFS links

I've been learning about NTFS links (1, 2) and playing around with them on my computer. It's a strange world of pseudonyms for filenames and folder names, and I'm not clear yet on why I have them, but ...
0
votes
1answer
36 views

Link folder into another folder

in Linux, is it possible to make the system pretend a folders content is inside another folder. So basicly: ~/scripts/hello # says hello world on console ln ~/scripts/ ~/.local/bin hello >hello ...
0
votes
2answers
19 views

Removed rpm symlink from bin/rpm

I have accidentally removed the symlink to /bin/rpm from my Centos7 installation. Now the rpm command is not working. Does anyone know how to fix this one or how to add this again as symlink ?
1
vote
0answers
14 views

Encryption after Symlinks are made

I wanted to ask before I did something really stupid. So, here it goes... . Here's the components I will be referencing: "LinuxOS" Partition (dedicated disk; no other partitions on the disk) "...
1
vote
1answer
48 views

Program runs when accessed directly, but not when accessed through symlink

I have installed a ruby application to /home/anp/tools and then created a symbolic link as follows: ln -s /home/anp/tools/wwan /usr/bin/wwan If I execute ~/tools/wwan, it runs perfectly fine. If I ...
0
votes
1answer
72 views

Unable to remove symlink from cygwin

I installed cygwin64 on my PC and then from terminal created some symlinks like this: %ln -s /cygdrive/c /c %ln -s /cygdrive/z /z After that by mistake I created wrong link: %ln -s /cygdrive/x /z ...
0
votes
0answers
49 views

Dropbox symlinks trouble

I have a few dozen symlinked folders, which recently stopped working. I tried to do what dropbox suggested: delete the symlinks and move the folders itself into dropbox. Unfortunately dropbox refuses ...
0
votes
2answers
122 views

Creating a symlink or alias that point to current user´s home sub-folder

Is it possible to create, using terminal on a mac, for a mac, a symlink or an alias to ANY currently logged in user of a mac? This symlink/alias is to be included as a "drop destination" for a ...
0
votes
1answer
79 views

Checking Git out to a symbolic link

I have a folder on a Windows Server 2019 build agent, we'll call Machine A. I create a symbolic link on NTFS in that folder that points to a folder on another remote machine, we'll call Machine B. ...
1
vote
1answer
164 views

mklink fails to create symlink on network drive

On Windows 10. Here's what I type, and Windows' response: mklink "path\to\link.pdf" "path\to\target.pdf" Access is denied. The desired location for the link is on a network drive. It makes no ...
0
votes
0answers
174 views

git clone error under Windows with symlinks

I get "warning: the following paths have collided (e.g. case-sensitive paths on a case-insensitive filesystem) and only one from the same colliding group is in the working tree" error, when using git ...
1
vote
0answers
132 views

Symlink behavior with Dropbox on Windows

Does Dropbox still sync symlinked content on Windows? The documentation suggests it shouldn't, but I think it currently still does. Documentation Per this Dropbox Article, Dropbox no longer syncs ...
1
vote
0answers
34 views

Use hardlink to have one file in multiple locations (different drives)

I'd like to have one file at different drives on Windows. I tried using hard link mklink /H I:\file.bib C:\file.bib But I get the following message. The system cannot move the file to a different ...
1
vote
2answers
226 views

Trying to create a symbolic link to save space on sims 4 mods, but the syntax is coming up as wrong

It says my syntax is incorrect, I'm a little stumped. Thank you! This is the code. C:\WINDOWS\system32>mklink \d C:\Users\kayle\Documents\"Electronic Arts"\"The Sims 4"\realmods D:\Sims4Mods
0
votes
0answers
32 views

Fake a mount to local folder

Every so often I need to locally debug Groovy scripts that write files to a subfolder in /mnt on the server. Is there a way to fake this mount on my local machine to another folder (in /tmp) so that I ...
0
votes
1answer
72 views

Windows 10: symlink to an offline folder

I'm trying to streamline synchronisation of a game's save files between two networked Windows 10 machines. I wanted to try doing it locally without involving cloud services (which I will have to ...
0
votes
0answers
16 views

Open file:/// links into the folder

I've been making use of symbolic links (e.g., file:///Users/me/Documents/Secret%20Project/) to link together different items in different apps across my Mac. However, if these links target a folder, ...
0
votes
0answers
70 views

What is the most effective way of remotely controlling the hosts file?

I need to control the hosts file on other Windows machines. I have administrator access on those machines and can install anything, the only question is — what to install? Ideally I would simply make ...
1
vote
0answers
117 views

How to make qemu-kvm Guest OS read symbolic links from shared folder while connecting VPN through OpenVPN?

My qemu-kvm VMs are in Ubuntu 16.04 and QEMU emulator version is 2.5.0. I want my VMs to read/write from/into the shared folder (in which I created symbolic links from Host OS). while the VMs ...
1
vote
2answers
638 views

Commit symlink outside of repo to git

I have a repository with a backup of various config files. I would like the repo to contain only symlinks to the real config files (which are outside of the repository), so that I don't need to ...
0
votes
1answer
31 views

Symlinks — how do they work?

Does a symlinked directory point to another directory, or does a symlink sync files between the two directories, so that the files exist in two places simultaneously?
0
votes
0answers
67 views

After deleting bunch of symbolic links, folder became inaccessible

I've created multiple symbolic links (pointing to existing files) using mklink command, and then proceeded to delete them (ONLY symbolic links themselves, target files still do exist) using Windows ...
2
votes
2answers
145 views

Dropbox sync with one folder on Linux

I have a folder on my Debian server at /mnt/Pool/Photos which I want to exactly sync with a folder in Dropbox at /Photos. This allows me to have my photos locally stored for easy access, but also ...
0
votes
0answers
40 views

Different behavior of double dots and symlinks in Windows and Unix

Under unix, symlink/.. refers to the parent directory of the target. While experimenting with symlinks and junctions in Windows, I could see that symlink/.. refers to the parent directory of the ...
0
votes
1answer
58 views

MacOS - Creating Symbolic Link for User Library from External HD to Primary HD

I have a new 2018 Mac Mini. I use Macs a lot at work, but this is my first Mac for home use. I have about 4TB of documents, data, photos and other media … far exceeding the 512GB SSD primary drive....
0
votes
1answer
176 views

SSH Key auth when home directory is symbolic link

The home directories on a server are mounted at /mnt/Storage/Home, and I have a symlink at /srv/Home pointing to that directory. I can log into accounts on it and the home directory works fine, but I ...

1
2 3 4 5
18