Copying a directory tree (was: xargs)

2008-08-21 Thread Oliver Fromme
Marcel Grandemange [EMAIL PROTECTED] wrote: I need to copy an entire BSD installation except the /mnt directory to /mnt/pc You don't need xargs for this. # cd / # find -Ed . -regex '\./(mnt|dev)' -prune -or -print0 | cpio -dump0 /mnt/pc If you have procfs mounted, add |proc to the regex, or

RE: Copying a directory tree (was: xargs)

2008-08-21 Thread Marcel Grandemange
Thank you all! And im on my way thanks to greate response! -Original Message- From: Oliver Fromme [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2008 2:42 PM To: freebsd-questions@FreeBSD.ORG; [EMAIL PROTECTED] Subject: Copying a directory tree (was: xargs) Marcel Grandemange