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

Re: problem with symlinks



On 4/1/2000 Sylwester Zelazko wrote:

	While moving /usr partition to other location i copied links as files.
Now most of programs and libraries in /usr/lib aren't symlinks. Is't other way
to recreate them except installing again ?

this is why its better to use tar instead of cp but cp -a might do the copy correctly. another option is cpio, but I am not quite used to using that utility yet.

(cd / ; tar -cvpf - usr) | (cd dest ; tar -xvpf -)


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


Reply to: