On 2017-07-23, at 12:00 PM, Macs R We <[email protected]> wrote:

> The way we used to evade this problem 30 years ago was to select an archival 
> or compression utility that preserved all of the file system properties we 
> needed transferred, throw its output into a pipe, and use the dearchival 
> invocation to re-extract it into the target space.

So, the best way is to make a time machine backup, and the restore that???

Sheesh :-)

> 
>> On Jul 23, 2017, at 11:55 AM, Michael <[email protected]> wrote:
>> 
>> 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
> 

---
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