On Tue, 15 Jul 1997, Bob Clark wrote: > Syd Alsobrook wrote: > > Really easy > > The best way to copy a directory tree from one drive to another is > > cp -pr /usr /hd > Hmm... The _best_ way? I not so sure. Like most things in > *nix where there are lots of ways to get the job done there > is usually not a _best_ way. A major problem with cp -pr is > that linked-files, both hard and soft, are broken and all > links are copied individually as regular files. This can > cause MAJOR problems as well as consuming more disk space.
Try: cp -a /usr /hd where -a stands for --archive. It *does* preserve links! ^_^ (According to cp --help, it says -a is equivalent to -dpR) Anthony -- Anthony Fok Tung-Ling [EMAIL PROTECTED] Civil Engineering http://www.ualberta.ca/~foka/ University of Alberta, Canada Keep smiling! *^_^* -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .