On Wed, Feb 23, 2000 at 10:54:42AM -0800, kmself@ix.netcom.com wrote: > > One option is to use tar through a pipe: > > Moving from /somedir to /otherdir: > > cd /somedir > tar cvf - . | ( cd otherdir; tar xvf - ) > > ...not sure why I prefer this (I'm an old fart, I guess), but it > preserves links and file permissions in a good way.
you should use the -p switch on those tars too, it may not be needed on pipes but never hurts to be carefull.. i use this method too, except im even more obnoxious with it :) (cd /somedir; tar -cvpf - .) | (cd /otherdir; tar -xvpf -) > ...it's also a good idea to at least to a quick visual analysis of the > results and compare target to source before blowing away the original. definitly. > -- > Karsten M. Self (kmself@ix.netcom.com) > What part of "Gestalt" don't you understand? > > SAS for Linux: http://www.netcom.com/~kmself/SAS/SAS4Linux.html > Mailing list: "subscribe sas-linux" to mailto:[EMAIL PROTECTED] > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > -- Ethan Benson