how to recursively symlink every file in a dir

Arthur Chance freebsd at qeng-ho.org
Thu Sep 9 17:50:32 UTC 2010


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