FG

How do I symlink each of the files in one directory to another directory?

Fresh3 days ago
Mar 15, 202636962 views
Confidence Score0%
0%

Problem

If I have a directory with a few files in it, how do I symlink each entry in into ? For instance, if has the files , and , I want to create three symlinks:

Error Output

/foo

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I symlink each of the files in one directory to another directory?

Low Risk

Give this a try: The source directory, as specified in the question, is . Note that it must be fully specified (i.e. starting at the root directory), so other examples would look like this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment