What is the best way to duplicate a directory tree on a mac?

Assume I'm at the command line, as "sudo bash".

Assume I want *everything*, as much as possible -- ACL's, ownerships, file 
forks, etc. -- as perfect of a "clone" as you can get (and no, there is no 
clone command --
keybounceMBP:/ michael$ man -k clone
Clone(3pm)               - recursively copy Perl datatypes
curl_easy_duphandle(3)   - Clone a libcurl session handle
nano(1)                  - Nano's ANOther editor, an enhanced free Pico clone
snmp_pdu_add_variable(3), snmp_varlist_add_variable(3), snmp_add_null_var(3), 
snmp_clone_varbind(3), snmp_set_var_objid(3), snmp_set_var_value(3), 
snmp_set_var_typed_value(3), snmp_set_var_typed_integer(3), print_variable(3), 
fprint_variable(3), snprint_variable(3), print_value(3), fprint_value(3), 
snprint_value(3), snmp_free_var(3), snmp_free_varbind(3) - netsnmp_varbind_api 
functions
snmp_pdu_create(3), snmp_clone_pdu(3), snmp_fix_pdu(3), snmp_free_pdu(3) - 
netsnmp_pdu_api functions
git-clone(1)             - Clone a repository into a new directory

-- none of those are "clone a file".)

---
Entertaining minecraft videos
http://YouTube.com/keybounce

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to