how to recursively symlink every file in a dir

Aryeh Friedman aryeh.friedman at
Thu Sep 9 17:52:21 UTC 2010

Should of mentioned that I was using C as an example we are in fact
using Java and the archives in question are jar's

On Thu, Sep 9, 2010 at 1:50 PM, Arthur Chance <freebsd at> wrote:
> On 09/09/10 18:24, Aryeh Friedman wrote:
>> I want to make it so every file is a seperate symlink in dir2 if and
>> only if it is a regular file (not a dir) in dir1... the reason is if
>> the file is unchanged then use symlink but I can rm the symlink and
>> replace it with a non-symlink:
> cpio -pdl

More information about the freebsd-questions mailing list