[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Troubles with moving /var



On 20/12/99 aphro wrote:


cp -a doesn't work on more obscure platforms like irix..there is a tar
command..that acts like cp -a i saw it posted in a magazine(Maximum
Linux) but i forgot what it was, if its linux its safe to use cp -a

probably something like (cd / ; tar -cvpf - var) | (cd /home ; tar -xvpf -)

quite a bit more obnoxious then cp -a for sure, but iirc it seemed to deal with symlinks a bit better. there is a cpio way too but i'll leave that to someone else.

the key is when using tar use the -p switch !!  :-)


--
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/


Reply to: