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.
0
votes
2answers
263 views
Symbolic Linking On WinXP
I'm running Windows XP and Cygwin. Is there a way to create some kind of symbolic link so that, if a non-Cygwin program is passed /cygdrive/c as a command line argument, it looks in c:\ for whatever ...
0
votes
1answer
22 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 ...
0
votes
1answer
26 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.
0
votes
1answer
77 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 ...
0
votes
1answer
146 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 ...
0
votes
2answers
125 views
0
votes
1answer
262 views
Make Bash's PS1 show original directory name and not symlink?
I currently have PS1='\W' but when in a symbolic link'd directory, the prompt shows the symlink name, how can I make PS1 to show the original directory name?
0
votes
1answer
190 views
How to improve this bash shell script for turning hardlinks into symlinks?
This shell script is mostly the work of other people. It has gone through several iterations, and I have tweaked it slightly while also trying to fully understand how it works. I think I understand it ...
0
votes
1answer
72 views
Remove a folder inside a symlink
Having a symlink:
ln -s /var/www /media/Disk2/dropbox/www
How can I remove a folder from the symlink located at /media/Disk2/dropbox/www/test without afecting the main folder?
0
votes
1answer
628 views
MacOS: How to “cd” into a symlink?
I have a folder "abc". I create a symlink: ln -s abc abclink. but then, whan I type, cd abclink it says "No such file or directory".
I can see the link, it has "lrwxr-xr-x" permissions, why doesn't ...
0
votes
1answer
102 views
Mac osx — view contents of a symlink?
Basically I want to look inside the symlink. Is this possible?
0
votes
1answer
381 views
Create link to executable in parent directory (..)
Create the following directories:
parent/child
Navigate to child and create a file named child (this is an executable file in my case, not sure if that makes a difference).
I need to create two ...
0
votes
2answers
925 views
How to stop Windows 7 Built-in-Backup creating a System Image of too many drives?
I do not want to include (D:) drive in the image.
I believe I know the cause of this, it's because I have some Directory Junctions and/or Symbolic Links.
Any suggestions other than removing the ...
0
votes
2answers
257 views
Create a softlink for a file on two servers
I want to create a softlink for a file between two servers. The file is present on server1 and a softlink should be created for it on server2.
0
votes
2answers
355 views
Symlink to Files & Dirs in Dropbox
I just installed Dropbox on my Mac, so now I have this Dropbox folder in my home directory.
I only have the free plan (2 GB), so I can't just throw all my files & directories in there.
I ...
0
votes
2answers
404 views
Use symlink to provide access to a specific file under a restricted directory
My home directory's permissions allow only myself access to it.
Is it possible to put a file inside my home directory with.. say.. full permissions, and create a symlink to it so other users can ...
0
votes
1answer
338 views
rsync functionality wanted - but i need symlinks, not copies
Is there a way to perform what rsync does (compiles many directories into a single directory) - But instead of copying files/sub-directories I need it to create a directory with symlinks that point ...
0
votes
1answer
1k views
Equivalent for Windows 7 “mklink” on OS X?
Is there a feature on OS X that does the same as mklink under Windows 7? It can create symbolic links and hard links.
I have just read about this tool to have Dropbox sync an application folder by ...
0
votes
3answers
666 views
Firefox 3.6.3 on Snow Leopard 10.6.3 - symbolic link to command line binary doesn't work?
I have Firefox 10.6.3 installed on Mac OS X Snow Leopard from the DMG. I can run firefox from the terminal using /Applications/Firefox.app/Contents/MacOS/firefox-bin. However, if I create a symbolic ...
0
votes
2answers
1k views
Could I use directory junctions (symbolic link) to share music between 2 users in Windows 7
I want to have 2 users be able to use the same itunes library and be able to sync an ipod which ever user is logged in. I tried making both the My Music folders point to the same folder, but that ...
0
votes
1answer
19 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, ...
0
votes
1answer
50 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 ...
0
votes
3answers
61 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 ...
0
votes
2answers
31 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.
0
votes
1answer
33 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, ...
0
votes
1answer
50 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 ...
0
votes
1answer
128 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 ...
0
votes
3answers
118 views
loop a command with a changing variable in Windows command line
I'm a noob trying to figure out how to simplify this .bat file I'm creating (sorts out movies into another alphabetized folder) so that it will have far fewer lines. I want to get it to use loop(s) ...
0
votes
1answer
191 views
Convert Linux symlinks to Windows symlinks
I've noticed that Linux symlinks don't work in Windows, and vice-versa. Is there any way to convert Linux symlinks to Windows symlinks? Specifically, I want to convert relative Linux symlinks to ...
0
votes
1answer
104 views
Symbolic link for log files on AIX
I have an AIX 5.3 and I need to point the /var/mylogs/trace directory at another /mydir/temp
When I use the symbolic link syntax;
ln -s /mydir/temp /var/mylogs/trace
In /var/mylogs/trace I get a ...
0
votes
3answers
65 views
directory in /proc/sys/net/ipv4/config have no hard links?
Why the directories inside /proc/sys/net/ipv4/config have no hard links?
ls -l /proc/sys/net/ipv4/conf
total 0
dr-xr-xr-x 0 root root 0 Dec 31 08:27 all
dr-xr-xr-x 0 root root 0 Dec 31 08:27 default
...
0
votes
1answer
23 views
Cascade file name changes on links in Windows 7
When making a link in Windows 7, is there a way to have name changes cascade to all links of the file?
So if I have a file called: Interest.PDF and make a few links in other folders, but then I later ...
0
votes
1answer
79 views
Symlink in Windows 7 fails, although user is an admin
I am logged in Windows 7 (Home Premium) as user which is an administrator. When I open cmd.exe, mklink foo bar says:
You do not have sufficient priviledge to perform this operation.
I know I can ...
0
votes
1answer
72 views
Symlink in ec2 /var/www/html/
I'm having problems with EC2 in the Amazon Cloud.
My steps:
I have a symlink to the S3 in /var/www/html
I update my code and upload the code with git aws.push in my environment (var/www/html)
...
0
votes
1answer
818 views
Samba Linux shares — Why won't windows machines display/follow symbolic links?
I set up a generally working samba server on a Linux machine like this:
useradd -g users netshareuser
passwd netshareuser
smbpasswd -a netshareuser
(passwords are the same)
mkdir /net/share
...
0
votes
1answer
77 views
How do I automate removing a symlink and adding a new one
Basically I want to create a quick set of commands so that I can type into the terminal and have it do this:
cd /path/to/folder/of/symlink
sudo rm -f symlink
sudo ln -s /new/path/of/symlink
cd ...
0
votes
3answers
1k views
How to soft link/ Hard link a folder to a remote server's folder
I'm new to modifying links as well as administering Linux, Is it possible to soft link a specific folder to a remote server's folder?
(I'm not sure what to use hardlinks/symlinks/etc.)
Sorry for ...
0
votes
1answer
629 views
Symlink all files in a Folder to a new Folder
Ideally what I am seeking is a way to rename all my anime keeping original files intact without using extra data space
The solution I can think of is creating a duplicate folder path to another ...
0
votes
1answer
340 views
Executable can't find correct files when called via symbolic link
I made a symbolic link to an executable with
ln -s /usr/bin/mydir/myexec /usr/bin/myexec
When I executed myexec in Bash, it does not load the proper files which are located in the original myexec's ...
0
votes
1answer
472 views
Shadow copy referencing invalid volume from symboliclink when using TrueCrypt
I recently replaced my motherboard after the last one failed (was shorting and causing random reboots). I'm sure this was not healthy for the machine, and that a clean install would do wonders, but ...
0
votes
1answer
55 views
How to filter repeated symbolic links
I have different symbolic links aliases for a set of files (beware, some symbolic links might point to other symbolic links in the same directory) and I would like to get a list of unique files they ...
0
votes
1answer
576 views
VirtualBox on Wubi Ubuntu can't start VMs due to incorrectly handling absolute paths
Maybe what I'm trying to do doesn't make sense, if so please bear with me, I am not a Unix guy at all.
I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as ...
0
votes
1answer
130 views
Remove (symbolic link) item from “Favorites” menu from command line
When I say "Favorites", I am referring to the one on the left side of your Explorer window, not the Favorites folder located at C:\Users\username\Favorites.
I have a problem where on of the ...
0
votes
1answer
1k views
mac os x, find all symbolic links that point to files on a different volume
In my ~ dir, I have some symlinks that point to "/Volumes/Macintosh HD 2/..." and I want to find them all recursively. A look at the man page for 'find' says the '-lname' argument will search the ...
0
votes
1answer
301 views
Symbolic Links Between User Accounts
I have been using a cron job to duplicate a folder into another users account every day and someone suggested using symbolic links instead although I cannot get them to work.
In summary user GAMER ...
0
votes
1answer
312 views
Mount drive when symbolic link is accessed
I have a MacBook Pro with two internal drives: an SSD and a slow HDD.
On the HDD I keep heavy, rarely accessed files like movies, photos, etc. These are symlinked from the SSD, so applications like ...
0
votes
2answers
295 views
Can I link log files to my web directory var/www?
Can I link log files to my web directory var/www ?
so I have var/www/logs
And then remove reading permission to others in my unix link preferences ?
By the way can I change links preferences ?
0
votes
1answer
68 views
How to change the address at FAT(or similar) to change the location of file?
I have a huge file which is about 67 GB is size. It takes a long time to move this file from one drive to another.
So is there a way, from which I can change its memory address(I dont know the ...
0
votes
1answer
447 views
Problem running mercurial against symlinked .hgrc file under Cygwin/Windows 7
This is not a question about handling symlinks in the mercurial repository.
I have this setup at work where I keep my dotfiles in a separate directory (.configuration) that I can use to synch my ...
0
votes
1answer
1k views
Changing the user folder in Windows 7
I know this could be a duplicate, but let me explain.
Let's say I want C:\Users\Me to be a link to E:\me. Like the other question says, I tried doing mklink /d C:\Users\Me E:\me. However, I get a ...


