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
1 answer
739 views

Creating a file through a dangling symlink with vi

This is the content of my typescript file, /mac>ln -s non_exist ~/link /mac>vi ~/link Hi! I am a link. /mac>cat ~/link Hi! I am a link. /mac>cat non_exist cat: non_exist: No such file or ...
user avatar
0 votes
0 answers
551 views

Symlinks are lost after running rsync to sync two directories

I have two identically named directories with similar subdirectories and I would like to merge the contents of one into the other. I'm trying to use rsync to do this and I'm finding that symlinks ...
user avatar
7 votes
1 answer
5k views

How to properly create symbolic link?

scenario : I'm in a place that is not in PATH I have a file name dofoo that is executable I want to create symbolic link in /usr/bin that points to dofoo in current directory quite hard to get the ...
thkang's user avatar
  • 266
5 votes
1 answer
14k views

NFS: too many levels of symbolic links. How to find and fix?

wim@wim-desktop:/media/data/dots/manouche$ ls > /dev/null ls: reading directory .: Too many levels of symbolic links wim@wim-desktop:/media/data/dots/manouche$ find . -type l -exec ls -l {} \; wim@...
wim's user avatar
  • 3,167
0 votes
1 answer
130 views

Should symlinked programs be put on drives with fast write speeds?

When deciding where to symlink-move a program, should it be to a drive that has a fast write speed, in lieu of program's needing to cache/write to disk? OR, if/when a program needs to cache to disk, ...
Coldblackice's user avatar
  • 5,914
3 votes
2 answers
13k views

How to run a symlink pointing to an executable in terminal (Linux)

I installed NodeJs on an Ubuntu machine, and the package have been installed as nodejs. Now, to run it as node, I created a symlink: sudo ln -s /usr/bin/nodejs /usr/bin/node This will work if I call ...
Simon Boudrias's user avatar
2 votes
1 answer
421 views

Can I create a symlink or similar that returns a random file from a set every time?

Say I have files foo-a.wav, foo-b.wav and foo-c.wav on disk. I have a piece of software whose interface allows me to enter the name of a single sound file; every time a certain feature of that ...
Robert Atkins's user avatar
2 votes
3 answers
4k views

Is it possible to create a subfolder inside a symlink folder but not be added into the parent folder?

Is a very tricky question, sorry about that Base on this Folder A file1 file2 Folder B ( symlink of Folder A (softlink) ) file1 file2 that i want to do is create a folder or file inside my ...
Joyal's user avatar
  • 319
4 votes
0 answers
706 views

adding symbolic link to os x finder sidebar

I'd like to add a symbolic link to the OS X finder sidebar, but when I do so the sidebar follows the link and creates a direct link to the target folder. This is not what I want, the reason I use a ...
Magnus's user avatar
  • 151
1 vote
0 answers
75 views

Can I add ADMX files via symbolic links?

Is it possible to add Group Policy templates (ADMX files) on a local Windows 7 machine by creating a symbolic link (soft link) in the C:\Windows\PolicyDefinitions folder that points to an ADMX file ...
Flipflop's user avatar
9 votes
2 answers
10k views

cp -H vs cp -L (What is a "command-line" symbolic link?)

My OS states the following in the man page of cp: -H follow command-line symbolic links -L, --dereference always follow symbolic links I am having difficulty figuring out what a ...
barrrista's user avatar
  • 1,729
0 votes
2 answers
1k views

Trying to create a Symbolic link between Sublime Text 2 and Subl

As the title says, I'm trying to create a sym link for my Sublime_text launcher, I did: sudo ln -s /path/to/sublime_text /usr/bin/subl and when I ls /usr/bin the blue subl link is there. Then I ...
XCritics's user avatar
  • 169
0 votes
2 answers
1k views

Can I create a single ftp to access multiple network locations

I have an ftp server setup using FileZilla Server and 5 application servers which each have a backup folder that is shared. On the ftp server I have setup symlinks in the root ftp directory that ...
Ghandi Manning's user avatar
2 votes
2 answers
842 views

Symlink bash autocomplete

If I typer unrar-nonfree and double tap tab, I get the usual autocomplete result: michaelxu@michaelxu-server:~$ unrar-free / backup.sh initrd.img.old mxx.lock tmp/ bin/ ...
agz's user avatar
  • 8,268
1 vote
1 answer
1k views

What factors might prevent this symlink from working as intended?

I'm on a Windows 7 64-bit machine, and I've been trying to get a symlink set up to some rather hefty files so that I don't need to use twice the memory (two different applications need to access these ...
Bertholt Stutley Johnson's user avatar
3 votes
1 answer
753 views

Hard symbolic link directory

I am taking over control of a server and I have found a directory in two different locations: /var/www /home/user.name (i.e., ~/) that have the exact same inode number: ls -i 11895253 directory....
Cameron Grover's user avatar
0 votes
3 answers
348 views

How to give access to user for specifig directory?

I made symlink when logged in as www (apache user): ln -s /home/anotheruser/test /var/www/test Now I go to my mydomain.com/test and I get a 403 error. /home/anotheruser/ has permissions 764 (group ...
SomeUser's user avatar
8 votes
3 answers
19k views

Why is this archive failing to create symlinks?

When I extract the archive Symfony_Standard_2.2.1.tgz using this command: $ tar xzf /home/tomas/downloads/Symfony_Standard_2.2.1.tgz I always get the errors: tar: doctrine.php: Cannot create ...
Hubro's user avatar
  • 5,786
0 votes
1 answer
101 views

Vim With Windows+Symlinks and a sandbox directory

I have a large project, and I have to work in and switch between a few directories often. My solution was to symlink all the files that I want to get to quickly into a sandbox directory. I just ...
Erotemic's user avatar
  • 260
1 vote
1 answer
384 views

Windows SymLink Questions: How do I tell if a file is symlinked /

I'm not exactely sure how to phrase my questions, I'll describe what I'm doing, perhaps my misconceptions will show. I'm on windows 7. I symlinked files that I'm working on in a project to a sandbox ...
Erotemic's user avatar
  • 260
3 votes
1 answer
576 views

launching applications from the Windows command prompt?

Is there a Linux methodology to include .exe files symbolically to a location referenced by the %PATH%? The process seems trouble free on Linux, but when attempting to do similar actions via mklink on ...
thejartender's user avatar
1 vote
1 answer
385 views

Am I failing to foresee an issue with a cygwin symlink to Windows's python.exe?

Should be an easy question. I have a windows version python 2.7 at C:/Python27/python.exe and I also have cygwin's installation at /usr/bin/python -> /usr/bin/python2.7.exe. This means that when I ...
Claire Sannier's user avatar
2 votes
2 answers
1k views

Show all symbolic links in a -> b format for 1 directory and sub directories

As title. How can I see a list of symbolic links in the format A -> B starting from a specified directory including all it's sub directories? This is on a Mac by the way.
rctneil's user avatar
  • 141
1 vote
0 answers
57 views

Multi user web software update solution

I want to accomplish an easy update procedure for web software that is used by multiple users. The idea is to have the software with multiple versions at /opt/software/version-1.2.3/ or /opt/software/...
mcnesium's user avatar
  • 551
1 vote
1 answer
2k views

rsync --remove-source-files and symbolic links

My source folder contains only symbolic links to different directories: symlink1 -> /path/to/dir1 symlink2 -> /path/to/dir2 I want rsync to delete synch'd links from the source on success. I ...
Gotenks's user avatar
  • 211
3 votes
2 answers
2k views

One line ls command to display symbolic links

How can I use just one single ls command to display all symbolic links in my /dev directory? I know ls -l and that's about it.
Jurgen Malinao's user avatar
0 votes
1 answer
69 views

Is it possible to apply special restrictions for a content of a directory?

I want restrict permissions to the content of a directory /abc/def/: disable links (symbolic or hard) limit the number of write permissions pointing to the same file (e.g. to 1, so only one process ...
static's user avatar
  • 1,367
1 vote
1 answer
3k views

Mac client on AD domain - individual folder redirection

I'm trying to configure a home network with Windows 2008R2 and Windows 7 / Mac Mountain Lion clients. I have a separate NAS drive, which I want to host all home folders as well as a central store of ...
David Fulton's user avatar
1 vote
1 answer
1k views

Linking Ubuntu Documents to Windows Documents

I would like to make my documents synchronised across my dual boot Windows 8 and Ubuntu system. I've chosen to implement this as mounting the Windows data partition in Ubuntu at boot time with fstab, ...
Chris Watts's user avatar
1 vote
1 answer
965 views

Apache: How to link or mount local directory to a remote one on Internet?

I have apache2 web server installed on Ubuntu Server which provides the service at 192.168.122.108:80. Also, I've been created a directory named ubuntu on apache's root directory. Now, the idea is to ...
Yasser Zamani's user avatar
0 votes
1 answer
77 views

Third party app for soft linking to files in Windows XP?

There's an app called Junction for soft linking to directories, but I'd like to soft link to files as well.
mcandre's user avatar
  • 3,036
1 vote
1 answer
1k views

Httpd error: not accessible symlink with -D FOREGROUND

I'm trying to setup virtual host in Fedora18. Configuration is following: httpd version is 2.4 user/group - apache/apache global document root is /var/www/html vhost symlink: /var/www/html/vhost/...
Andrii Kucherenko's user avatar
1 vote
3 answers
5k views

How can I store encfs6.xml in another location (and still make it detectable)?

How can I make encfs4win search for the encfs6 file in another location? I tried modifying the encfs_mount.cmd file at the end, like so: set ENCFS6_CONFIG=c:/test1/.encfs6.xml %pathtoencfs%encfs -...
olitzadobric's user avatar
1 vote
1 answer
200 views

Copy folder and all subfolders but NOT symlinks

I need to copy a folder and all of its subfolders but I don't want any of the symlinks or their contents to come with it. Can this be done simply? Or - obviously - can I easily disconnect and remove ...
OldCurmudgeon's user avatar
2 votes
1 answer
724 views

How to create Symbolic Link chain in Windows?

I am trying to create multi-level symbolic links in Windows 8, but only the direct (first level) symlink seems to be working. If I try to use the second level SymLink, i get errors. i have been using ...
Raman Dhillon's user avatar
1 vote
1 answer
1k views

Why don't hard link destinations on Windows Server 2003 immediately show the proper file size and last modified time?

I wanted to create hardlinks to files on Windows Server 2003 and I stumbled upon the superuser question hardlinks on ntfs with windows. I tried mklink as one of the answers suggested and found that ...
Howiecamp's user avatar
  • 1,578
2 votes
1 answer
9k views

Creating symbolic link in windows 7 from NAS device

We currently use Carbonite for our file back ups. I have an N.A.S. with a bunch of files on it that I would like Carbonite to back up in addition to the local files on the machine with the Carbonite ...
Blake's user avatar
  • 356
33 votes
1 answer
14k views

Convert symlinks to hard links

I'd like to recursively convert soft links to hard links in a directory. I've tried something like this: for f in *; do (mv $f{,~} && ln $(readlink $f~) && rm $f~) done …but it has ...
Attila O.'s user avatar
  • 1,387
8 votes
2 answers
5k views

Windows Symlink & working directory

I have a directory called apps/myapp/ with a file myapp.exe which uses myapp.dll and some other dlls. Now lets say i want to symlink this to a directory, like one would do in linux. bin/myapp.exe =>...
Emile's user avatar
  • 81
0 votes
1 answer
2k views

How do I make a relative link in windows with a space in the path [duplicate]

I want to make a relative link in Windows 7 to a path that contains a space character. Making a relative link without a space in the path works as follows (explained here): %windir%\system32\cmd.exe ...
Severin Winkler's user avatar
10 votes
1 answer
7k views

Create Symlink in Windows from command line without ".lnk"

I want to mount a network share on a folder in Windows, because I have an application that's stored big files in a hard-coded path (e.g. c:\path\of\directory). I can't change that path. This is ...
Rahul Patil's user avatar
6 votes
1 answer
3k views

How can I set a Removable External Device as a built-in Hard Drive?

I am using SSD with my laptop and running out of free space.. So I bought an 64GB microSD card as a secondary storage. But, when I launch My Computer, the SD card drive is recognized as, of course, ...
klados's user avatar
  • 263
4 votes
1 answer
2k views

symlinks for admin users on Windows

On Windows you can create symlinks either if you start the programm, you want to create a symlink in (e.g. cmd), as Administrator. or if you give your user/usergroup the permission to create symlinks ...
automatix's user avatar
  • 1,411
1 vote
1 answer
304 views

Is there a way to create a virtual drive in Ubuntu that contains multiple NTFS partitioned drives?

I have a dual boot set up (win 8/ubuntu 12.04) and in Ubuntu all 5 of my windows drives show up individually on the Unity launcher. It takes up a lot of space but I like being able to link directly to ...
Enigma's user avatar
  • 3,401
0 votes
1 answer
548 views

Will uninstalling a program that uses symbolic links also remove the linked files on Windows 7?

I recently discovered how to use symbolic links in Windows 7, and I've already started imagining and implementing uses for them. One such usage is to link a program's folder in Google Drive, allowing ...
Atlantic's user avatar
  • 272
1 vote
0 answers
3k views

mklink /d not working

I have a folder with my pictures on a network drive. I would like that folder in the pictures library in windows 8. It wouldn't let me add it since the network drive isn't indexed. Windows help said ...
Blake's user avatar
  • 356
1 vote
1 answer
5k views

How to automatically mount hard drive in Ubuntu

I have an extra hard drive which I access regularly in Ubuntu, and I have a link from my home folder to a folder on this drive. However, this link doesn't work when I first log in because the hard ...
rmp251's user avatar
  • 115
1 vote
0 answers
55 views

Recovering invalidated symlinks in Windows Vista

My brother's computer refused to boot into Vista and would always go into chkdisk, so I figured there was something physically wrong with the drive. I booted into a Linux live cd and used a tool ...
mark10xG's user avatar
1 vote
1 answer
324 views

What is the efficiency of NTFS Junctions?

Long story short, I am using the steamtool application, which was originally developed for the following reasons: Steam by default would save all your games to C:\ SSDs are becoming the new primary ...
IDLacrosseplayer's user avatar
6 votes
1 answer
14k views

Symbolic link or Junction to a Networked Samba Share

I have a samba share mounted as a network drive. However, I can't make any sort of symbolic link or junction point to it. Is this possible? When I try the following command: mklink /D X:\Samba\dir C:...
ztnewman's user avatar
  • 293

1
13 14
15
16 17
21