FG
💻 Software

Copy directory structure without copying files, on Mac OS X

Fresh5 days ago
Mar 15, 202620308 views
Confidence Score0%
0%

Problem

I'd like to duplicate the directory structure in some directory to another, without copying any actual files. In place of the files, I'd like either a blank file with the same name, or a symlink to the original location. How could I do this, on OS X? Command-line tools (rsync/find/tar/whatever), sh…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copy directory structure without copying files, on Mac OS X

Low Risk

or

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment