[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: question: copy command
- From: gerrynix <gerrynix yahoo com>
- To: Getting started with Red Hat Linux <redhat-install-list redhat com>
- Subject: Re: question: copy command
- Date: Thu, 9 Dec 2004 14:26:06 -0800 (PST)
--- Rick Stevens <rstevens vitalstream com> wrote:
> Mark Knecht wrote:
> > On Thu, 09 Dec 2004 17:14:17 -0500, GoijI P <goijiud hotmail com>
> wrote:
> >
> >>please, what's best and least risky command to copy contents of
> directory
> >>/dir to /Mydir?.
> >>
> >
> >
> > I don't know if it's either best or least risky, but
> >
> > cp -R /dir /Mydir
>
> or "cp -a /dir /Mydir" (preserves ownership and such)
or Assuming /Mydir exists and has no conflicting data:
cd /dir
find . -print | cpio -pvdm /Mydir
>
----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer
> rstevens vitalstream com -
> - VitalStream, Inc.
> http://www.vitalstream.com -
> -
> -
> - Do you know how to save five drowning lawyers? No? GOOD!
> -
>
----------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request redhat com
> Subject: unsubscribe
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]