Tested under bash:

cd /oldhome
tar cfl - * | (cd /newhome; tar xf -)

On Mon, Apr 21, 2003 at 10:36:57PM -0500, Justin Haaheim wrote:
> when I do that, i still get messages like:
> 
> 	cp: cannot create symbolic link `.emacs': Operation not permitted
> 
> (.emacs is a symbolic link in /home/justin/ that points to a mounted 
> network drive (/home/justin/solen-home) which is symlinked from 
> /mnt/solen-home)
> 
> 
> 
> Tom Penney wrote:
> >On Mon, 2003-04-21 at 20:55, Florin Iucha wrote:
> >
> >>cp -ax /oldhome/* /newhome
> >
> >
> >
> >On Mon, 2003-04-21 at 20:18, Tom Penney wrote:
> >
> >># cp -dprvx /home/justin /mnt/hdb3/justin
> >
> >
> >
> >-a equals -dpr

I know, it is just easier to remember.

florin

-- 

"NT is to UNIX what a doughnut is to a particle accelerator."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030421/c082f13d/attachment.pgp