Create a Symbolic Link with ln -s
Point one folder path at another location on macOS with ln -s, so apps read and write through the link automatically.
01Command
$ ln -s /Volumes/BigDisk/PhotoArchive ~/PhotoArchive02What it does
A symbolic link is a small pointer file: anything that opens ~/PhotoArchive is transparently redirected to the target folder, wherever it really lives. This is the standard trick for redirecting app data to an external drive, keeping config files in sync across projects, or exposing a deep folder at a convenient path. Deleting the link (rm ~/PhotoArchive) removes only the pointer — the target data stays untouched.
03Risk
04Undo
$ rm ~/PhotoArchive05Sources
- ln - Make a hard link or symbolic linkEvidence: Documents the syntax 'ln [-fhinsv] OriginalSourceFile [NewLinkFile]' and explains the difference between hard links and symbolic links.
- LN(1) - macOS manual pageEvidence: The manual page describes ln -s as creating a symbolic link that points to the target file or directory.
Last verified: 2026-09-19 · Category: Files & Folders
06Related solutions
List the biggest files in your home folder that are eating disk space.
Make Finder display .pdf, .docx, .png and every other extension at all times.
List every open file descriptor — files, directories, and network sockets — per process.