might try cp -r
man says -r for recursive

Joshua Banks wrote:

Thanks Collins,

Whats the easiest command to cp all the subdirectories and files in those 
subdirectories in /ect
to another directory?

JBanks
--- Collins Richey <[EMAIL PROTECTED]> wrote:


On Mon, 15 Sep 2003 21:15:19 -0700 (PDT)
Joshua Banks <[EMAIL PROTECTED]> wrote:



Ahhhh. Funny you should mention this. This is exactly how I screwed myself then. To funny.. Your given 3 choices when "etc-update" is run...
-1
-3
and -5.


Whats the diff between -3 and -5....this isn't makig sense to me even after
reading some stuff on the forum..



What I usually do is the following:

1. Ignore fstab, passwd, and shadow.  I do check to see if there are any actual
changes (almost never) and incorporate these manually later.

2. Files that I know I have made no changes to, I just replace the old with the
new.

It's a tedious process, at best.  It's not a bad idea to make a copy of /etc
before you start, then you have a way out when things go bang.



--
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the worries of tomorrow, you have no today to be thankful for.




--
[EMAIL PROTECTED] mailing list




__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list



Reply via email to