On Tue, Dec 21, 2004, Mike Jeays wrote: >On Tue, 2004-12-21 at 21:08, Robert Huff wrote: >> Mike Jeays writes: >> >> > How does on copy a complete directory hierarchy, including any hidden >> > files? >> > >> > "cp -rp" leaves them out. >> >> cp -rp * >> cp -rp .* ... >This doesn't copy hidden files in lower-level directories, only in the >top level. Thanks for the suggestion - a good idea that doesn't quite >do it.
My usual incantation is: find . -print | cpio -pdumva $destdir Or if I know there's significant overlap rsync -varP ./ $destdir Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ To say that UNIX is doomed is pretty rabid, OS/2 will certainly play a role, but you don't build a hundred million instructions per second multiprocessor micro and then try to run it on OS/2. I mean, get serious. -- William Zachmann, International Data Corp _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"