On Tue, 21 Feb 2012 11:31:23 -0800, Robison, Dave wrote:
On 02/21/2012 10:28, Devin Teske wrote:
Why can't you mount the disc on /mnt and then use tar after mounting
the disk to copy the files from /mnt to /destdir ...
tar cpf - -C /mnt . | tar xvpf - -C /destdir
That will preserve hard links, symlinks, permissions, and times (and
doesn't require rsync).
There are other methods involving cpio, but I find tar to be nice.
Just FYI, a trick using cpio which Julian once taught me:
find . -depth | cpio -pdmluv /destination/dir/here
--
Dave Robison
Sales Solution Architect II
FIS Banking Solutions
510/621-2089 (w)
530/518-5194 (c)
510/621-2020 (f)
da...@vicor.com
david.robi...@fisglobal.com
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the intended recipient, please: (i)
delete the message and all copies; (ii) do not disclose, distribute
or
use the message in any manner; and (iii) notify the sender
immediately. In addition, please be aware that any message addressed
to our domain is subject to archiving and review by persons other
than
the intended recipient. Thank you.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"
Thanks a lot this one and the previous advice using tar was what I was
looking for :) :)
Thanks a lot really :)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"