symlink Questions

2

Solved

I want to copy a file src to the destination dst, but if src happens to be a symbolic link, preserve the link instead of copying the contents of the file. After the copy is performed, os.readlink s...
Crowe asked 31/1, 2011 at 4:24

3

Solved

I have a directory with thousands of descendants (at least 1,000, probably no more than 20,000). Given a file path (which is guaranteed to exist), I want to know where that file can be found inside...
Dot asked 22/2, 2019 at 21:57

5

Solved

I have been trying to delete some symbolic links in my working directory, but I am facing some issues. os.remove also removes the actual contents of the original folder of the link os.shutil thro...
Who asked 28/7, 2012 at 11:18

6

when i give ls -l /etc/fonts/conf.d/70-yes-bitmaps.conf lrwxrwxrwx <snip> /etc/fonts/conf.d/70-yes-bitmaps.conf -> ../conf.avail/70-yes-bitmaps.conf so for a symbolic link or soft lin...
Irruptive asked 10/7, 2010 at 20:36

3

Solved

I have a feeling that I already know the answer to this one, but I thought I'd check. I have a number of different folders: images_a/ images_b/ images_c/ Can I create some sort of symlink such ...
Bedaub asked 8/1, 2009 at 5:5

2

I try to clone a repository with submodules and symlinks. I'm on Windows 10 and clone onto an NTFS SSD. I'm cloning with $git clone -c core.symlinks=true --recurse-submodules -b develop [email&#1...
Locule asked 18/4, 2018 at 7:16

3

Solved

I have an object which I would like to address using different keys without actually copying the object itself, like a symlink in Linux. Does Amazon S3 provide such a thing?
Milinda asked 5/4, 2015 at 17:6

4

Solved

I tried installing git-annex yesterday to backup my files. I ran git annex add . in the root of my repository tree and then a git commit. So far everything is fine. What I didn't know git-annex wa...
Wilhelmstrasse asked 27/6, 2014 at 8:13

5

Solved

Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or junction tools. NTFS symbolic link can also be used a...
Blate asked 6/9, 2013 at 9:14

3

Solved

How do I copy a symbolic link (and not the file it points to) in a Perl program while preserving all of the symbolic link attributes (such as owner and permissions)?
Zoie asked 7/1, 2009 at 12:4

18

Solved

I want to create a symbolic link in Linux. I have written this Bash command where the first path is the folder I want to link, and the second path is the compiled source. ln -s '+basebuild+'/...
Ashford asked 23/12, 2009 at 9:50

4

I have a symlink at /var/www/domain.example/web/MY_SYMLINK pointing to /var/www/domain.example/web/SOME_FOLDER. This is defined as my document root for the website. Then I run ln -sfn to change th...
Acidimeter asked 18/11, 2018 at 17:26

7

Solved

I have a directory to which a process uploads some .pdf files. This process is out of my control. I need to make those files available through the website using Tomcat. I have a directory /var/li...
Oneiric asked 24/11, 2008 at 19:5

1

I have this setup of a TypeScript 2.0.3 project: src/main/webapp/tsconfig.json src/main/webapp/app -- contains .ts files src/main/webapp/app/tsModels -- a symlink to ../../../../target/tsModels ta...
Herbst asked 18/10, 2016 at 23:48

4

How can I change target of already existing symbolic link. Any solution would work: console, powershell,etc. Important think is to make this change atomically so solution to delete link and then c...
Ashbaugh asked 2/7, 2012 at 15:17

3

When finding and replacing across a large repository, I get a bunch of files with a typechange status. These are mostly symlinks. Rather than git checkout -- eachfile.name Is there a way to re...
Logogram asked 2/7, 2014 at 14:11

2

Solved

I need to process a number of directories, determine what files in them are symlinks, and what they link to. This sounds simple, but I have no control over the presence of control or other characte...
Oireachtas asked 18/7, 2010 at 16:56

1

In my project I use a JSON file as a database (which is currently stored in local on my computer). It is modified by Node.js and some pieces of information are rendered with React in an import : im...
Contiguity asked 16/7, 2018 at 8:33

3

Solved

I am trying to reset PHP opcache after a symlink-style deployment. There is the opcache_reset.php file in my project which is executing by wget after the document root's symlink replacement: <?...
Entity asked 19/5, 2014 at 12:21

8

Solved

I'm trying to check if a symlink exists in bash. Here's what I've tried. mda=/usr/mda if [ ! -L $mda ]; then echo "=> File doesn't exist" fi mda='/usr/mda' if [ ! -L $mda ]; then echo "=&gt...
Reahard asked 23/4, 2011 at 21:27

2

Solved

Under Linux with CMake, I'm building a shared library libIex-2_0.so.10.0.1 ADD_LIBRARY (Iex SHARED [*.cpp] ) SET_TARGET_PROPERTIES(Iex PROPERTIES OUTPUT_NAME "Iex-2_0") The 10.0.1 version is se...
Elementary asked 9/9, 2013 at 21:0

0

If we do: npm link x and then we run npm install, it will overwrite the symlinked package. Is there a way to run npm install without overwriting a symlinked package? something like: npm instal...
Compartment asked 22/8, 2018 at 23:51

2

Solved

I am working with the built-in Apache2 on OSX. I moved the document root to a folder on my desktop and made sure that _www and everyone have read access. It works fine and great, PHP works, everyth...
Antoninus asked 24/3, 2014 at 22:9

5

Solved

On Windows 7 with Python 2.7 how can I detect if a path is a symbolic link? This does not work os.path.islink(), it says it returns false if false or not supported and the path I'm providing is def...
Tetroxide asked 6/3, 2013 at 21:32

3

C:\windows\system32>mklink /D U:\"Mobile Apps"\Repos C:\Users\LeiceJ\Source\Repos The system cannot find the path specified. I'm trying to set up a symbolic link so that I can access my R...
Furious asked 17/8, 2016 at 3:21

© 2022 - 2024 — McMap. All rights reserved.