FG
💻 Software

Create symlinks recursively for a whole tree

Fresh6 days ago
Mar 15, 202624439 views
Confidence Score0%
0%

Problem

I am seeking for a command that would re-create a whole tree of files in a different directory. I would prefer to have all symlinks absolute. Can I do that with a find and xargs? ;-)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Create symlinks recursively for a whole tree

Low Risk

should do the trick. The directory structure will be recreated at dest/ with each file being a symlink to its counterpart in source.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment