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? ;-)
cp -rs source/ dest/ should do the trick. The directory structure will be recreated at dest/ with each file being a symlink to its counterpart in source.
cp -rs source/ dest/
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago