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
0
votes
0answers
6 views

Nginx server configuration with symlinks to root folder

I am developing an laravel app. I have a server configuration like this: server { listen 80; server_name dev.site.com; return 301 https://dev.site.com$request_uri; } server { ...
-1
votes
0answers
26 views

Possibly broken symlinks on failed SCP command: No such file or directory

I am trying to extract some .pem certificates files used to encrypt my server but for some reason cannot do it using SCP I am unable to copy them over to my own machine Here are the files in the EC2 ...
0
votes
1answer
28 views

Get the parent directory of a soft link

I have the following directory structure [xss]# tree /etc/test /etc/test ├── challenge │   └── domain.tld ├── domains │   └── domain.tld ├── users │   └── puff │   └── domain.tld -> /etc/test/...
0
votes
1answer
8 views

How to set a relative soft link using $SINGULARITY_ROOTFS in the setup part of the Singularity recipe file?

I'm trying to create soft link in the %setup section of the Singularity recipe file. If the link is relative, it does not work. For example: ln -s ${SINGULARITY_ROOTFS}../python2/2.7.5a ${...
1
vote
1answer
19 views

How does Robocopy handle file system links (symbolic links, hard links and junctions)?

Is it safe to delete a Robocopy backup? I have read that some people accidentally deleted files outside of the backup because it contained links/junctions. Can I prevent this?
0
votes
0answers
7 views

Create a symlink to a cloud on Android? [migrated]

Is it possible on Android to create a symlink to a cloud like OneDrive such that an app will use files (in this case savegame files) from that cloud? How can I do this? And is there an app that does ...
0
votes
0answers
12 views

How do I create a hard link/junction for multiple folders pointing to a single folder?

Example: D:\Comp\ this directory has these folders - Volume 1 Volume 2 Volume 3 I want to point Volume 1 and Volume 2 to one folder, and Volume 3 to another such that everything looks like this: ...
0
votes
0answers
9 views

Windows symlink not quite working

I'm making a USB with some tools in it, stuff like Python and G++. My issue is that g++.exe is deep in some directories and I don't want to scramble through them to use it. I can't add it to the PATH ...
1
vote
0answers
27 views

Symlink still points to old version of AppImage

I have a script that autoupdates some AppImage applications and then it creates/updates a symlink with the new application (as they have a hash in their filename when they integrate, the previous ...
0
votes
1answer
35 views

Can I link folders from an external drive to show up on my c drive?

I am running Windows 10 and my c: drive is almost full. I have a d: drive but the partitions are not adjacent, so apparently I cannot reallocate that drive to my c: drive. I have managed to link ...
0
votes
0answers
35 views

How could i make a mirrored (sync) hard link copy of files from different folders on windows?

I'm trying to create hard link entries from a folders content into another folder, but synced in such a way that any files deleted from one (or the target) will be deleted from the other. There is one ...
0
votes
0answers
30 views

Create a Junction Link on a network storage without admin rights

I feel like I have read every post about this topic now, but I cant get it to work. I am trying to create a symbolic link from one directory to another directory on the same volume. The problem is I ...
0
votes
0answers
9 views

Setting up raid/symlink over rclone mounts

i use rclone to mount my google drives witch is great but im wondering in linux is there a way to use the 2 or 3 mounted drives to be seen as one my thought is folder /usr/home/backup will open and ...
1
vote
0answers
29 views

GNU stow. Only symlink files, not directories

I'd like to manage my dotfiles with a Git repository and stow. Here is my current repository that includes the files/directories I'd like to stow and a Makefile with the command I'm using make stow. ...
1
vote
1answer
44 views

Advice on migrating from a hard disk to SSD

I have a Toshiba P50 laptop that is still performing OK for me, despite being 7-years old. The only gripes I have are: it is taking longer to boot (I have a lot of stuff installed) the 1TB disk is ...
0
votes
0answers
26 views

how do i use fuse to mount a file in a compressed file as a symlink

i have a directory full of .xz files, each containing a single file (not tar). uncompressed, the directory is 23GiB. (*.xml) compressed, the directory is 1GiB. (*.xml.xz) how do i fool the filesystem ...
0
votes
0answers
50 views

Creating R2R Windows Symlinks on TrueNAS drive returns error “The File or Directory Is Not a Reparse Point”

I'm not sure whether this issue leans more towards a TrueNAS/FreeBSD problem or something more on the Windows 10 side. I'm trying to create some symbolic links FROM the SMB share, TO the SMB share. I....
0
votes
0answers
20 views

Can synthetic.conf links be used to 'hardlink' directories in macOS?

Can synthetic.conf (see its man page for more info) links be used to 'hardlink' directories in macOS? I.e., does adding /Users/sth/project/src /Users/sth/foo' to synthetic.conf work?
0
votes
0answers
42 views

Use symbolic link for user Documents folder?

My user "Documents" folder is currently on a UNC path to a NAS. Most of my applications that use the "Documents" folder as the place where they store data are fine with this, and ...
0
votes
1answer
40 views

Recurrent issue Integrated webcam is used by another application

I am having issue with my webcam it stops working randomly for indefinite time, these issue first occurred to me year ago after that I have reinstalled windows one time but these issue comes up ...
0
votes
0answers
23 views

fatrace failed with “too many levels of symbolic links” and no further information

I'm currently trying to find out which process is responsible for waking up my HDD. Some background info about the situation: I'm working on a laptop with a SSD and a HDD. The OS and $HOME are ...
0
votes
1answer
164 views

Symlink some folders in home directory

I recently installed dual boot Windows 10 and Ubuntu 20.04 on a new machine. I followed a guide which suggested giving /home a 10GB partition and throwing the rest in /. I started putting all my ...
0
votes
0answers
35 views

How do I use GNU Stow to symlink dotfiles from a directory higher than the script that invokes Stow?

I am trying to use GNU Stow to manage my dotfiles, and I am unable to figure out how I would make this work out. I store all of my dotfiles in $HOME/Dotfiles/dots, and I have a script that runs Stow ...
0
votes
0answers
16 views

windows 10: How do I create symlinks to powershell scripts that can run inside powershell/Windows Terminal?

as above. I tried: mklink soft link and it just opens the contents of the PS1 script inside notepad mklink hard link and it is asking for what app to use to open the file Any ideas? I'm just trying ...
1
vote
1answer
37 views

Detect Linux NTFS symlinks under Windows/WSL

Symlinks created in Linux on NTFS drives (ln -s) appear in Windows as short files with contents IntxLNK + 0x01 + (UTF-16 encoded target path) -- probably Interix. I want to write a script to convert ...
0
votes
0answers
33 views

Limit User's Access To The Linux System Using Restricted Shell with Alias and Symbolic Link

I'm following this example: https://ostechnix.com/how-to-limit-users-access-to-the-linux-system/ When they come to this part: Image from the tutorial They make a symbolic link from /bin to the ...
0
votes
1answer
73 views

Why can I make a symbolic link in the target directory but not in the source directory?

Suppose I have a directory foo, another directory foo/bar, and finally a file foo/bar/foobar. Here's the quirk: If I am in the directory foo and type ln -s bar/foobar . it creates a working symlink. ...
0
votes
0answers
14 views

Can `mklink /J` be used to create symbolic links to files on windows?

All the docs I found online (eg: https://ss64.com/nt/mklink.html, https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links etc) mention that ...
0
votes
2answers
39 views

Virtual file system for Windows or Linux that combines several directories into one

Under OS/2 there existed the "Toronto Virtual File System", which allowed multiple directories to be combined into a singe directory. When you accessed an existing file, the virtual file ...
0
votes
1answer
22 views

How to determine if a file is a symbolic link or a .lnk shortcut file in MSYS2 (mintty) terminal?

Is there a command in MSYS2 terminal that can be used to determine whether a file is a symbolic link or a windows shortcut .lnk file? For example: $ touch a.txt # Create a symbolic link: $ MSYS=...
0
votes
0answers
24 views

When doing a backup, does it make sense to “copy as symlink” when source and destination are on the same volume, and “copy the content” otherwise?

Years after years, I'm using more and more symlinks between directories for many purposes. Let's say I do a backup of D:\. When configuring the backup task, you usually have two choices: either the ...
1
vote
2answers
25 views

Recursive symlink gets created when using ln -f -s

if I create a folder inside my current folder, say logs:- mkdir log ln -s -f log all_logs such that all_logs points to the log directory. ls -ltr Jan 7 23:33 log Jan 7 23:33 all_logs -> log ...
0
votes
0answers
31 views

Put symlink in a slow drive pointing to a NMVE is a good way to speed up docs loading?

Cleaning up things after a MB crash, I got a Samsung NMVE 2 (1TB) drive and did transfered Windows 10 64 bits from a SATA SSD to it (in a 500GB partition), and really helped to load OS and some Apps, ...
0
votes
1answer
29 views

What does mk stand for in mklink also why does the first folder have to be removed?

I was just creating a directory junction and had to use mklink. My question is what does mk stand for in the word mklink? And why does the first folder have to be removed to create the link when doing ...
0
votes
0answers
23 views

Arch: Symlink for file in .config to /etc/X11/xorg.conf.d not doing anything

I want to symlink a file from a folder in .config to /etc/X11/xorg.conf.d, so I can still have the files if I were to switch computers. Symlinking works just fine, but it doesn't seem to be reading ...
0
votes
0answers
39 views

Renaming network location in file explorer's quick access

I've previously renamed a network location on the Quick Access side bar of file explorer, but cannot figure out how to do it again on another computer. The network location is simply an ip address (\...
0
votes
1answer
25 views

How do I copy a directory from one to another BUT preserving directory structure and only use soft symlink for the files?

With reference to this... /var/web/site/123/(everything inside) to /var/web/site/234/(everything from 123 BUT files are soft symlinked only) how can this be done using 1 line? i dont want to save to ...
1
vote
1answer
136 views

Creating a mklink to a folder on Windows 10

I have an application that writes files, let's say, on folder C:\Users\AppData\FOLDER I want to create a link so the files end up on D:\FOLDER. Do I use soft sym link or junction Why do I have the ...
0
votes
1answer
214 views

Xorriso complaining about symlinks while creating Debian pressed ISO

I'm following the steps to create a Debian preseed ISO here: https://wiki.debian.org/DebianInstaller/Preseed/EditIso. It advises using xorriso to create the final ISO image for EFI systems as ...
0
votes
1answer
29 views

Creating symbolic link of xsane to GIMP's plug-in folder does not let use it as plug-in

As it is stated by the official xsane documentation, I created a symbolic link by the following command (in my case the folders are a bit different): ln -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/ ...
0
votes
0answers
24 views

What Data To Share and How when Multi-Booting Unix-Like Operating Systems

I would like to multi-boot an up-to-date version of macOS, a fixed version of macOS 10.13, and an up-to-date version of Ubuntu on my MacBook Pro (without T2 chip). Obviously I can share most data ...
0
votes
1answer
16 views

How to copy symlinks to a device that does not support symlinks?

I am trying to backup a directory to a Samba share, which apparently does not support symlinks. Are there any good solutions of how to proceed? I would suggest a sensible behaviour might be to ...
0
votes
1answer
42 views

FTP access to a file accessible only by root

When I try to do the following: ln -s /var/log/exim_rejectlog /home/user/logs/exim_rejectlog It creates the symlink and FTP access to the logs directory can see it, but because files in /var/log/* are ...
0
votes
1answer
78 views

Windows file junction

I have a backup solution which backs up a single folder of my hard disk. I want to "mount" files from various locations of my hard disk into this directory. At first I tried creating ...
0
votes
2answers
32 views

Executing Visual Studio 2019, stored in a remote server

I have a personal computer, and a server. On both systems, Windows 10 Pro is already installed. TL;DR I want to execute Visual Studio 2019 Enterprise on my personal computer, but place the application'...
0
votes
1answer
135 views

Windows 10 symbolic link: bash vs cmd

I have a single bash script that I use to launch many programs. I called this script launcher.sh To use it, I create a symbolic link named myprog pointing to launcher.sh. While in BASH shell (MSYS2/...
0
votes
0answers
27 views

How force SYMLINK to change it's location, like SHORTCUT does?

So, whenever you create a shortcut of FILE (say ABC.TXT), and then you move/rename that FILE, then the shortcut still resolves correctly to that FILE. However, that is not case with Symlinks, which I ...
0
votes
1answer
31 views

When a program opens a script that is referenced by a symbolic link and symbolic link changes - does it continue to point to the original file?

So say I have a long running program that is run using the symbolic link below. latest_version_of_script -> /path/to/script/v1 My program is still running and I do a release and my deployment ...
2
votes
2answers
83 views

7zip create archive and omit any symlinks on windows

I want to make a backup, but without the symlinks. 7zip has symlinks option for tar and wim. "Store symbolic links" checked or unchecked to omit them? Edit: I'm using "add to archive&...
5
votes
1answer
165 views

Copy symbolic links with relative path - Windows 10, NTFS, Robocopy

I am using external hard drive to store all my data that have a lots of symbolic links. The file system is NTFS. Now I would like to copy some (or all) of the information to other drive keeping the ...

1
2 3 4 5
19