Greetings.

On 29 Sep 2012, at 09:10, Ashley Aitken <[email protected]> wrote:

> 2. ditto (does that still exist?)

% which ditto
/usr/bin/ditto
% man ditto
…
>      ditto follows symbolic links provided as arguments but does not follow 
> any
>      links as it traverses the source or destination hierarchies.  ditto over-
>      writes existing files, symbolic links, and devices in the destination 
> when
>      these are copied from a source.  The resulting files, links, and devices
>      will have the same mode, access time, modification time, owner, and 
> group as
>      the source items from which they are copied.  Pipes, sockets, and files 
> with
>      names beginning with .nfs or .afpDeleted will be ignored.  ditto does not
>      modify the mode, owner, group, extended attributes, or ACLs of existing
>      directories in the destination.  Files and symbolic links cannot 
> overwrite
>      directories or vice-versa.
…
%

So I think the answer to both your questions is yes.  I'm not sure quite how 
you'd best verify that the copy was correct, but I'd imagine that comparing the 
output of 'ls -l@R .' on the source and destination would give you some 
reassurances.  Going beyond that would probably require comparing md5(1) sums.

Best wishes,

Norman


-- 
Norman Gray  :  http://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK

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

Reply via email to