0
votes
1answer
44 views

How to create symlink on OSX?

I would like to have 2 folders with almost the same content - all subfolder, all files should be the same except 2 files. If I change something in one folder (file content, create new file, delete ...
0
votes
1answer
73 views

Why not having /tmp default permissions to 777 in osX?

I'm often using, on unix servers I'm working with, the /tmp folder as a folder where I write temporal stuff needed for my software (mainly web applications). It has usually 777 permissions. I found ...
0
votes
0answers
49 views

How to get OSX/Linux to recognize Windows Symlinks

When connecting to a Windows share through OSX or Linux, symlinks are not properly recognized. They either appear as aliases with no target, or as folders with no permissions to access. At this point ...
0
votes
2answers
52 views

Is there a way to disable resolving symlinks for OSX 'open' utility?

Suppose I have file called a.txt and another file b.txt which is a symlink pointing to a.txt. I also have my own developed application which is set as a default application for .txt files. Now when I ...
0
votes
1answer
31 views

Is there software/program that can bulk symlink a bunch of files? What about a shell script?

I have like a couple hundred different files I want to symlink, is there any program where I can select all the files I want to symlink (keeping the same file name in the symlink destination) and then ...
0
votes
0answers
66 views

How can I create hardlinks to an OSX bundle? Or the symlinks inside the bundle?

I have a hierarchy of files that I need to hardlink to a temporary install location. Some of those files are frameworks. Frameworks are bundles but essentially just folders, which aren't supported by ...
0
votes
1answer
77 views

Do symbolic links work both directions?

I created a symbolic link between a folder on my local computer and DropBox. If I modify files in the linked folder on Dropbox from another computer, will those new/modified files also be pushed into ...
0
votes
1answer
273 views

symbolic links gone after restart/upgrade

I can create symlink (something like that) and it works. Until next restart. How do I force iterm to restore symlinks? How do I preserve these after a system update?
0
votes
1answer
307 views

Mac: Moved Applications folder, can't install peripheral software?

Here's the Situation I have a Mac Pro, and it runs Mac OSX 10.7.4. For faster performance and startup speed, and an easier way for me to backup my files, I did the following 3 modifications: 1) I ...
0
votes
2answers
109 views

cd shortcuts: symbolic link to CDPATH dir

I found a solution to another question and posted here and wanted to implement it. On OSX, in order to create cd shortcuts, it advised creating a hidden folder with symbolic links, and then adding ...
2
votes
1answer
33 views

change several symlink destinations at once

Recently I changed my username in osx following apple documentation. I have sh and bin directories under home directory. Normally I write sh/foo.sh and link it to bin/foo to use it. After changing ...
0
votes
0answers
58 views

symlinks keep breaking and creating self-referential loops

I'm using a new 27" iMac with Mountain Lion 10.8.4, mostly for database work and scientific computing. I've noticed some strange behavior, in which symbolic links to directories will break such that ...
2
votes
0answers
48 views

Time Machine backs up symbolic links that haven't changed

Lately I've noticed that my Time Machine backups are taking a very long time. I recently replaced my boot drive, and I thought the problem might have been due to the way I reconnected the drive to the ...
1
vote
3answers
239 views

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory. I Work at a help desk and we need to sanitize a directory just in case data gets into it at ...
2
votes
1answer
47 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 ...
1
vote
0answers
139 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 ...
0
votes
2answers
77 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
2k views

403 Forbidden on OS X with symbolic link

I just upgraded to OS X 10.8 Mountain Lion to find that my web server setup was ruined by the upgrade. I managed to get PHP and Apache back up and running, but I still do not have my old setup from ...
2
votes
1answer
401 views

Can I mirror a folder's contents as it's changed in OSX?

TL;DR How can I mirror the contents of a Mac OSX directory, to another directory on my hard drive? I have a Dropbox folder that I use on all of my computers (a few Windows machines and a Macbook.) ...
1
vote
2answers
316 views

Shared home folders between operating systems

After my hard drive calved yet again in my MacBook Pro, I decided to re-do my dual booting. My goal is to triple boot, with OSX 10.6.8 (installed), Windows 7 Home Premium and a flavour of Linux ...
7
votes
5answers
3k views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: ...
10
votes
4answers
12k views

How to allow acces to a symbolic link in my ~/Sites/ for Apache under Mac OS X Lion 10.7.2

I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here Now whenever I fire ...
2
votes
1answer
224 views

OS X: prevent Finder/File Chooser from following directory symlinks

I have a have a symlink foo in /Users/myaccount which points to /Volumes/foo. In the Finder or file chooser, the symlink does not show up as directory, so I can't expand it to select ...
0
votes
1answer
212 views

Mac osx — view contents of a symlink?

Basically I want to look inside the symlink. Is this possible?
3
votes
2answers
3k views

How to fix a symbolic link pointing to a wrong location?

I'm a little bit confused with hard/softlinks here. I'm on OSX, have a folder '4' and two links pointing to it: drwxr-xr-x 4 imm staff 136 14 Jun 21:24 4 lrwxr-xr-x 1 imm staff 1 14 Jun 16:56 ...
3
votes
1answer
268 views

which version of xattr on OSX 10.5 will not follow symbolic links?

I need to edit extended attributes of directories that are symbolic links. xattr that comes on OSX 10.5 unfortunately writes to the link target instead of the link itself. I discovered a different ...
1
vote
1answer
462 views

Mac alias/symbolic link question

If I create a symbolic link or alias pointing to $HOME/Desktop and place it in a .dmg disk image, then distribute the dmg, will the link still point to the Desktop for the end user?
3
votes
1answer
542 views

In OS X how could I create symlinks to everything within a given directory (rather than the directory itself)?

Say I have a bunch of config files that I'd like to store elsewhere, but if I move them and then symlink the directory, the application sees it as a symlink and won't use the contained files. Instead ...
2
votes
1answer
233 views

Can one symlink to a URL? [closed]

I have a CSS file that I'd like to symlink to an external CSS file. The external CSS file is only available as a URL - it's not on my filesystem. Is this possible? I'm running OSX.
0
votes
1answer
2k 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
2k 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
1answer
362 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
3answers
2k views

Zipping files in OSX, want to 'resolve' symbolic links

I have a number of directories, they're all demos of web scripts I have created, the important fact is they all share resources. So I have created a global resources directory and symbolically linked ...
2
votes
1answer
625 views

Accessing files obscured by filesystem mounted at non-empty directory

I wish to mount a volume/filesystem at a non-empty directory, yet still retain access to the directory's contents. Is this possible? I know that a filesystem can be mounted at a non-empty directory ...
3
votes
1answer
679 views

OS X: alias vs. symlink

What is the difference between an "alias" and a symlink on OS X?
0
votes
3answers
735 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 ...
1
vote
2answers
409 views

Symlinks are inaccessible by their full path on OS X

I have symlinks pointing to applications placed in /usr/local/bin which is in the path. However, I can't run these applications from other folders. Even more weird, I can't access them by the full ...
1
vote
2answers
1k views

Linked Files and Folders in OSX from Finder? [duplicate]

Possible Duplicate: Create a symbolic link in the Mac OS X Finder I use ln -s original new to make linked directories in OSX, but there must be a way using my mouse... no?
4
votes
4answers
6k views

How to change a symlink in OS X?

How do I change where a symlink points to, without deleting and creating a new one (with ln -s "/path/to/point/to" "/path/where/symlink/is")? When I tried doing that with, for example, to Java's ...
6
votes
4answers
2k views

Need to hide a symbolic link without hiding the directory it links to

I created a symbolic link (specifically a symbolic link & not a Finder alias which bash can't follow) to a directory in my home folder using ln -s link $HOME/directory & now I wish to hide the ...
26
votes
8answers
49k views

Create a symbolic link in the Mac OS X Finder

Is there a way to get the same functionality as the unix command ln -s in the Mac OS X Finder (OS 10.5)? I want to be able to create symbolic links while working in Finder windows without opening the ...