Actually, that's not true under 10.4 ... well, at least, it copies the resource fork. For earlier versions of MacOS, you'll want to install the developer tools, and set aliases for cp and mv to 'CpMac' and 'MvMac'

(and yes, I had some file corruption problems under 10.2, until someone told me what was going on ... empty preferences files for some applications can cause them to lock up in new and interesting ways)

Oh -- and MacOS stores a _lot_ of metadata for files. (besides just the resource fork, which will can break some files, there's also indexing information, ACLs, and a bunch of stuff that might not be as noticable) ... there's a table of MacOS backup software that might be useful for whole volumes, but I don't know how useful it is for moving individual files.

update: you'll also notice when creating tarballs or moving to non-HFS systems that you'll get two items for every file -- the data fork under the original name, and one prefixed with '._', which is the resource fork. (just ran into the problem yesterday, when someone grabbed a power point presentation off a memory stick, and grabbed the wrong fork)


In reply to Re^2: what is /usr/bin/head by jhourcle
in thread what is /usr/bin/head by richill

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.