On Tue, 9 Nov 2004, Rob Becker wrote:
I'm playing with optimizing the startup scripts on an old redhat box. In order to avoid completely monkeying things up, I would like to back up the /etc/rc.d/rc3.d directory prior to making changes. I've read the man pages on both cp and ln and I'm coming up short regarding backing up the symlinks in this directory. Is there a way to create symlinks with the same names that point to the same files as the original symlinks? I know I can do it manually, but I'd prefer to use the * wildcard to get it all done in one shot if possible. Does anyone have any ideas? Am I thinking about this the wrong way? Please enlighten me if I am missing an obvious solution. Thanks. Rob
I use:
cp -aR
Does that work?