[SPAM] Re: backing up symlinks
Rob Becker
rbecker at kcai.edu
Tue Nov 9 12:07:28 CST 2004
That seemed to get it. Now I need to get the date set correctly. This
laptop sat for a while and the clock is wrong.
Thanks.
Rob
-----Original Message-----
From: Duane Attaway [mailto:dattawaykclug at dattaway.org]
Sent: Tuesday, November 09, 2004 11:55 AM
To: Rob Becker
Cc: kclug at kclug.org
Subject: [SPAM] Re: backing up symlinks
Importance: Low
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?
More information about the Kclug
mailing list