Skip to main content

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
0 answers
30 views

Schedule a task with admin privileges Windows 10

I feel like this should be easy but I am not making any further progress. I have seen the other post mentioning Windows 7 and UAC prompts but the accepted solution on that did not post work for me. ...
roar's user avatar
  • 1
0 votes
1 answer
13 views

readlink_stat failed: Value too large for defined data type (75). Broken symlink?

I have a server with Debian 12 and everything works fine, except this message: -bash: /usr/bin/dircolors: cannot execute binary file: Exec format error Now...With every backup I get warnings about ...
tuxerri's user avatar
  • 13
1 vote
1 answer
62 views

How to remove user folders with nonexistent symlinks?

I noticed that there are duplicate user accounts on users' Windows 10 computers that prevents in place upgrade to Windows 11. So I'm trying to remove these user accounts in a "prepare-for-win11-...
Nash's user avatar
  • 33
0 votes
1 answer
33 views

How can I move location or setup user special folders for multiple windows installations but the same user on a single machine?

How can I move or otherwise link Windows user special folders (Documents, Downloads, etc) such that multiple Windows installations on the same machine can share them seamslessly for all programs and ...
Michael Adams's user avatar
0 votes
0 answers
20 views

Symlink Messages Library Data

My hard drive is completely full on my mac, mostly due to my extensive Messages archive. I have an external drive and would like to move the data over to it using a symlink (or other solution). When I ...
chazbot7's user avatar
  • 133
-2 votes
2 answers
140 views

(Windows 10) Symbolic link failing, claims "system cannot find specified path"

I am trying to create a symbolic link between %ProgramData%\PopCap Games\Insaniquarium and %ProgramData%\Steam\Insaniquarium to fix compatibility problems with the game Insaniquarium, however, the ...
AndreM962's user avatar
0 votes
0 answers
36 views

Unknown object in Excel 2021 cells

In creating a very simple excel sheet in Excel 2021, I am now seeing a small bold cross (Not the one for copy/drag) in several cells. It will neither cut nor delete. It does not enlarge or change with ...
Sam Handlang's user avatar
0 votes
1 answer
51 views

How can I use 'mklink' to link 'read/write' game files to an existing directory with additional game data in it?

I recently downloaded Halo: The Master Chief Collection through PC Xbox Game Pass. The game is a collection of 6 or so games, so it's a whopping 116 GB large. Because of this, I've installed the game ...
jturner08's user avatar
6 votes
2 answers
980 views

Is there a way to use Linux-like symlinks on a Windows computer, referring to a location on another computer?

My application is writing logs to a directory, which is hardcoded "Logs" and is present under the runtime directory of my application. Today, a customer asked me if it was possible to have ...
Dominique's user avatar
  • 2,259
0 votes
1 answer
26 views

Where is the real location of data when using symlinks?

When you create a symlink using mklink /D Link Target where does the real data exist? Where the target is right ? what about the hard link?
mean mean's user avatar
1 vote
0 answers
63 views

Is it possible in Win10 to have a path which shows the content from multiple folders?

I have a program (call it App1) which read data from c:\ProgramData\ProgramCompanyName\App1\ I need to get the content of ProgramCompanyName on another disk, so I moved that folder to D:\App1\...
Parduz's user avatar
  • 113
1 vote
1 answer
215 views

How to "find" while following specific symlinks on Linux?

I would like to find files (with similar feature to find), but follow and only follow specific symlinks (by pattern matching). Apparently find itself cannot handle it: There is no option to setup ...
user2771324's user avatar
0 votes
0 answers
54 views

Optimal way to link cache folders into different location

I use Arch Linux and I have spare m.2 SSD which I use for SWAP, but I have huge space left which is unused, so I would like to use it for cache / temp files too (so I can save some writes on my ...
tomsk's user avatar
  • 219
0 votes
0 answers
106 views

Build documentation that is behind symlinks

I've built an internal documentation site using Material for MkDocs but I would like to provide multiple project readmes by symlinking folders from their own git repos into the docs/ folder. That is, ...
icedwater's user avatar
  • 157
0 votes
0 answers
47 views

What causes an application on one PC to be able to open OneDrive "files" but not on another PC?

I have an application that uses files I have sync'd with OneDrive. On machine A, when I launch this application (Blender 4.0, as it happens) and use the application's "File->Open" menu to ...
mHurley's user avatar
  • 184
0 votes
0 answers
87 views

Make symlink contents available to users from group

I have a directory /data which belongs to the tct-data group. I also have an external drive connected through the USB mounted in /media/tct/external_drive. I want to create a symlink inside /data ...
user171780's user avatar
0 votes
1 answer
532 views

Difference between /D and /J options for mklink command when syncing folders to OneDrive

I want to sync a large folder on my Windows machine to OneDrive without duplicating it on my local drive. I have read two tutorials suggesting using the mklink command to create a link between the ...
Foad's user avatar
  • 662
0 votes
1 answer
291 views

symlinks on Samba share created by linux client (mfsymlink) not working on server

On my mounted Samba share I can create a symlink from a linux client by simple ln -s hello.txt hello.sl This works for the client (on linux) when 'mfsymlinks' option is enabled, but the symlink doesn'...
manµ's user avatar
  • 3
1 vote
1 answer
1k views

macOS Sonoma symlink - "Operation not permitted"

I'm trying to set up a symlink for neovim config that I store in a git repo. It works fine when running on Linux, but when I try on my macbook I get the following error: ln -sfn ~/dotfiles-and-utils/...
FlinnBurgess's user avatar
2 votes
1 answer
514 views

create symlink to a batch file

I create a symlink to my .bat file (test.bat) mklink /D mycode test.bat The problem : the symlink won't be recognized as program that I can run : 'mycode' is not recognized as an internal or external ...
andio's user avatar
  • 293
0 votes
0 answers
468 views

ln: failed to create hard link | No such file or directory - Even when file exists

Running Ubuntu 22.04.3 LTS using a Samba share (Version 4.17.12-Debian) running on Proxmox. The command: ln "/mnt/drive/downloads/movie.mkv" "/mnt/drive/movies/movie/movie.mkv" The ...
ClassyUnderexposure's user avatar
1 vote
1 answer
532 views

Symbolic Link not working in sub-directory?

Newbie here. I was learning about ln command. So I created a symlink to a file foo.txt inside another directory bar. ln -s foo.txt bar When I try to access bar/foo.txt, I get the error "Too many ...
GrandeKnight's user avatar
0 votes
0 answers
159 views

Mount but exclude one subfolder?

I have a Synology NAS in which I use the following command at NAS startup to create a symlink, which works fine: mount --bind "/volume1/SourceFolder" "/volume1/SymlinkFolder" Now I ...
Ahmad's user avatar
  • 797
0 votes
0 answers
28 views

crontab tar archive on macOS not recursive

I have a script to archive a directory on macOS: #!/bin/sh BACKUPNAME=$(date "+%Y-%m-%d@%H:%M:%S") BACKUPNAME="local-vaults-$BACKUPNAME.tar.gz" tar czfh "/Users/henrik/...
hstr's user avatar
  • 183
0 votes
0 answers
348 views

Desktop,Music and Public folder in the Home directory gets Link (broken) (inode/symlink) on opening a pdf in the Home directory.How do I fix it?

Yesterday I shut down my laptop and it took an exceptionally long time to shut down after lots of messages being displayed by the OS(Ubuntu 20.04.6 LTS) on shutdown. Today,when I started my laptop it ...
Anurag 's user avatar
0 votes
1 answer
320 views

Exclude a subfolder from symlink?

I have a folder I want to symlink (note that this doesn't have to be a symlink specifically, a junction or similar also works) somewhere. In that folder, there are a couple of subfolders and a bunch ...
Maple38's user avatar
  • 11
0 votes
1 answer
3k views

mklink gives message "invalid switch"

So I'm trying to move Whatsapp Desktop's media folder from C drive on Windows 10, where I have limited space, to E. I closed Whatsapp (also via the task manager). I moved the media directory to E, and ...
avshae's user avatar
  • 33
0 votes
0 answers
60 views

Make contents of folder A visible inside folder B?

Requirements I'm looking for a way to create folders with this behavior: All content of folder A automatically appears within folder B Changes in folder A (creating, modifying, deleting) are ...
pyjamas's user avatar
  • 162
1 vote
0 answers
45 views

Symlink from folder in one users home to folder in a different users home

I have a collection of scripts that I'd like to make available to me across a variety of other user accounts that I use for running various gaming servers. To do this I have previously used: ln -s /...
Tony Merryfield's user avatar
1 vote
1 answer
415 views

How to create symbolic link relative to the other symbolic link?

I have following directory tree / |-- server | |-- cstrike | | | |-- hltv -> ../../hltv | |-- [other files] |-- 27015 | |-- hltv | |-- server -> ../server |-- 27016 | |-- hltv | ...
Evgeniy's user avatar
  • 160
0 votes
1 answer
288 views

What does symbolic link lock -> /run/lock/?

I am looking at my var directory. what does a symbolic link really serve for? lrwxrwxrwx 1 root root 9 апр 8 07:47 lock -> /run/lock/ Links lock to /run/lock/?
MikiBelavista's user avatar
1 vote
0 answers
157 views

Is there a way to place a symbolic link in Volumes on Mac that won't be deleted when the machine reboots?

I use Dropbox in a newspaper publishing environment. While in the office I mount a share from my Synology NAS that shares my Dropbox content via CloudSync. For a remote computer, I use the Mac Dropbox ...
Paul Wilson's user avatar
0 votes
0 answers
305 views

Chrome --user-data-dir over shared network, possible?

Is it possible to open Chrome with the user data directory on the shared network drive specified? The background why I'm trying this is: I have two computers. I use one mainly and the second one is ...
丶 Limeー来夢 丶's user avatar
0 votes
0 answers
243 views

tar:java/xxx:Cannot create symlink to : java/xxx : Permission denied

OS: Chromeos 114.0.5735.205 (Official Build) (32-bit) Kernel:Linux penguin 5.15.108 Architecture:aarch64 trying to install jdk , I ran : tar zxvf jdk-20_linux-aarch64_bin.tar.gz --no-same-owner got ...
Rajat Vats's user avatar
0 votes
0 answers
309 views

In chrome bookmark bar, is there a mechanism or extension to "symbolic link" to a bookmark folder?

I've experimented with various structures for my bookmarks bar and found that shallow trees work much better for me. To that end my top level bookmarks bar is filled with short names with more ...
phdye's user avatar
  • 11
0 votes
0 answers
18 views

Hard Links Not Updating when I Rerun STATA script

I have created a hard and symbolic between the output file for one STATA script to the input file for the next script. I would like that when I run the first script and the output file is updated the ...
Matt's user avatar
  • 1
1 vote
1 answer
49 views

Link folders in shared drive

I'm a kinda new sysadmin and a user asked if it would be possible to optimise this process: He works on department A and creates documentation in this structure: \server\department_a\projectx\...
Keev11n's user avatar
  • 11
-1 votes
2 answers
522 views

WSL Bash: how do I get a symlink to act like a local folder

I have 2 folders set up: / folder/ subfolder/ file.txt symlink-folder/ subfolder/ -> /folder/subfolder If I cd /symlink-folder/subfolder then run ls, I see file.txt, as I expect. ...
ewok's user avatar
  • 4,291
0 votes
2 answers
3k views

create symbolic link in directory with no write permission

I have a directory, which I do not have write access to. I want to create a symbolic link there, overwriting my file in that directory(which i own). however, I cant delete my file to place a symbolic ...
jp_'s user avatar
  • 160
1 vote
0 answers
47 views

Possible to make *some* symlinks behave like 'cd -P'?

In Linux, suppose you have a symlink at /foo/bar that points at directory /foo/baz. Case 1: If you do cd /foo/bar, you'll be in /foo/bar/baz. Case 2: If you do cd -P /foo/bar you'll be in /foo/baz. (...
nerdfever.com's user avatar
0 votes
0 answers
370 views

Can't link to NFS mount from WSL2

In an attempt to get round Can't mount NFS from within WSL2 Ubuntu 22.04 I tried: Mounting the NFS share in Windows. Creating a symbolic link from WSL2 to Windows. The first step worked - I ran ...
parsley72's user avatar
  • 1,054
1 vote
0 answers
25 views

How can I move a folder without encountering issues related to cyclic folders and excessive disk space consumption?

I'm using the following command to move a folder: robocopy "C:\Users\TTHCMM" "D:\C_Drive\Users\TTHCMM" /E /MT:32 /NFL /NDL /NJH /NJS However, I've noticed that this command can ...
william007's user avatar
1 vote
1 answer
124 views

how to test in bash which of the two symlinks is older (or newer)

Apparently, the bash tests -nt and -ot dereference links. Let's consider the following files and links to them: $ ls -lt --full-time f* | cut -d ' ' -f 6- 2023-04-24 02:05:01.083919712 +0200 f1l -> ...
user avatar
0 votes
0 answers
256 views

How to instruct the linux kernel to resolve all symbolic links in a mounted directory relatively to another root?

I have mounted an ISO at /mnt. The ISO is android's system.img. At the root it has a folder etc that is linked to /system/etc: lrw-r--r-- 1 root root 11 Dec 31 2008 etc -> /system/etc But it ...
g00dds's user avatar
  • 143
0 votes
1 answer
423 views

replace symlink with file on write

Is there a way to make a file system/server replace a symlink with an actual file on write? Something like inotify would work, but as far as i can tell, I cannot run code before the write operation is ...
Paul S.'s user avatar
1 vote
3 answers
8k views

How to move users directory to another disk

I have been searching the forums for ways to move the C:\Users and C:\ProgramData folder to another drive for data security and what little performance gains it may give. The two most common methods I ...
David_M16's user avatar
0 votes
0 answers
291 views

Can linux samba server (smbd) provide to (Windows) clients if a file is symlink (or hardlink or btrfs reflink)?

I have a NAS with Debian. Disk in NAS is btrfs. Service which serves files is samba server (smbd). I have a Windows client with an external NTFS disk. I want to synchronize NAS disk with external disk ...
Chameleon's user avatar
  • 207
0 votes
0 answers
1k views

Can I create a symbolic link/junction to a Teams folder without issue? Is there a better way to achieve this?

I'm new to using Teams, and am not a networking professional etc. so please forgive my ignorance there, and if I'm using incorrect terms for things, but here is my situation: I have to use some old ...
WhatEvil's user avatar
  • 184
0 votes
0 answers
543 views

Script fails in WSL/Ubuntu when run via a symbolic link

I have a script that behaves differently when run by name compared to when it is run via a symbolic link. The problem is specific to WSL/Ubuntu. The same script, when used under Linux or Windows/...
jjoIV's user avatar
  • 1
0 votes
0 answers
87 views

CLI of Inkscape not working from regular PowerShell

End goal: Automatially convert all .drawio.svg files in working directory to .pdf-files while compiling a LaTeX-document. I have VS Code with LaTeX Workshop set up as my LaTeX-Environment and ...
DarkDiamond's user avatar
  • 1,875

1
2 3 4 5
21