Mailinglist Archive: opensuse (4398 mails)

< Previous Next >
Re: [SLE] Copying files
  • From: Carl William Spitzer IV <cwsiv@xxxxxxxxxxxxx>
  • Date: Thu, 01 Sep 2005 20:57:04 -0700
  • Message-id: <1125633425.16802.3.camel@xxxxxxxxxx>
On Wed, 2005-08-31 at 15:40 -0500, Donn Washburn wrote:
> Jerry Feldman wrote:
> > On Wednesday 31 August 2005 2:16 pm, Carlos E. R. wrote:
> You can even try to a mounted file system partition no matter
> what filesystem.
> cp -Rp /directory1 /directory2
> Just remember size matters. It will copy all files and
> subdirectories
>
> man cp
> -p same as -- preserve=mode,ownership,timestamps
> -R, -r, --recursive - copy directories recursively
>
Worked great. Thanks.

--
___ _ _ _ ____ _ _ _
| | | | [__ | | |
|___ |_|_| ___] | \/


< Previous Next >