backing up symlinks

Rob Becker rbecker at kcai.edu
Tue Nov 9 11:45:14 CST 2004


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




More information about the Kclug mailing list