Re: [Lug-Nuts] need some help

From: Brian Lavender (brian@brie.com)
Date: Fri Feb 11 2000 - 11:26:10 PST


Jim,

Perhaps a piped tar will do what you want? In fact this is a one liner I
posted to the list back on August 11, 1999 or so. There was some other
discussion regarding it too. I suppose you could create an nfs mount
over the network. It seems as if there are security issues if you are
using nfs over the net, so maybe you would want to configure vpnd and
then do an nfs over that. If you go to freshmeat, type in vpnd and you
will get the info on it.

 tar cf - .| (cd /var/named/; tar xfp -)
 
 This command will copy files from one directory to another
 while maintaining permissions and owner/group ownership. It
 works across NFS mounts too.

On Fri, Feb 11, 2000 at 11:05:45AM -0800, James Nessen wrote:
> I am looking for a way to copy files from one server to another and
> preserve the perms/owner/group/etc. I tried rcp, but that doesn't seem to
> wanna keep the perms set correctly. Will rdist do this? If so, does
> anyone know the command syntax off the top of their heads? I tried the
> man page and I once had it written down somewhere, but I lost it, ugh.
>
> Any help would be appreciated.
>
> Jim
> --
> James Nessen
> E. nessenj@jimsoffice.org
> P. 916.257.6817
> F. 877.410.3802
> W. http://www.jimsoffice.org

-- 
Brian Lavender
http://www.brie.com/brian/
**********************************************************
*  Sacramento Linux Users Group Mailing List
*
*  Unsubscribe: Send a message to majordomo@saclug.org
*               With 'unsubscribe lug-nuts' in the body
*
*               http://www.saclug.org



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:12 PST