[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Tar problem
- From: "Mark Thompson" <mthompson ed umuc edu>
- To: redhat-install-list redhat com
- Subject: Re: Tar problem
- Date: Thu, 30 Dec 1999 10:12:11 +0100
I have been using exactly that, just in the opposite direction. I have been using the command
ssh -l user_name server '(cd source && tar cpf - *)' | tar xvpf -
This works fine for the user directories but doesn't work for the samba directories.
Mark Thompson
Rino Rogomentic wrote:
> On Thursday, 30. December
> Mark Thompson wrote:
>
> >I have brought up a Redhat 6.1 server with all of the lastest patches.
> >I am trying to migrate samba
> >users from the one machine to the other.
> >I am able to move all of the user accounts with no
> >problems using
>
> >tar xvpf
>
> >which preserves the permissions. When I try to move the
> >shared directory on the same partition to
> >the new server, the permissions for the directories
> >are not being kept.
>
> --schnipp,schnipp--
>
> hi mark,
>
> try this one:
>
> tar xvpf - <source_dir> | (cd <target_dir>; tar xvpf - )
>
> ================================================================
> Rino Rogomentic @work: r rogomentic aigpb com
> AIG Private Bank Ltd. @home: rino gmx ch
> IT Infrastructure tel. : ++41 1 801 19 41
> Hochbordstr. 1 fax. : ++41 1 801 14 29
> CH-8600 Duebendorf
> ================================================================
>
> --
> AIG Private Bank AG
> Rino Rogomentic \\|// Work: r rogomentic aigpb com
> IT-Infrastructure ( 0^0 ) Home: rino gmx ch
> -------------------oOO--(_)--OOo-----------------------------------
> Hochbordstr. 1
> CH-8600 Dübendorf-ZH
>
> Sent through Global Message Exchange - http://www.gmx.net
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-install-list-request redhat com with
> "unsubscribe" as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]