On Jun 23, 2009, at 4:54 PM, Diez B. Roggisch wrote:
Tobias Weber wrote:
Hi,
which is the best way to copy files on OS X? I want to preserve
resource
forks and extended attributes.
Are these still relevant on OSX? I've always only copied files
directly, and
never had any troubles.
Di
Tobias Weber wrote:
> Why "so"? shutil does not use bin/cp!
That's good to know. I had always thought that that was what shutils
did, but you're right; it does not.
That said, since cp indeed *can* copy resource forks on Tiger and up,
you could use subprocess to call it.
Just as an aside, your
On Jun 23, 2009, at 9:52 AM, Tobias Weber wrote:
Hi,
which is the best way to copy files on OS X? I want to preserve
resource
forks and extended attributes.
...
bin/cp -p
This. cp -p, mv, rsync -E, tar, and other utilities will use the
copyfile(3) API to preserve extended attributes, r
On Tue, Jun 23, 2009 at 2:28 PM, Michael Torrie wrote:
> mv, cp, etc (but not rsync) are completely aware of resource forks from
> Tiger on. This is well documented and known on the Mac forums.
>
> So shutils should work just fine for copying, moving, etc.
I don't think that's true. The shutil d
Tobias Weber wrote:
>> Apple's version of cp is aware of extended attributes.
>
> Yes, but the manual doesn't say to what extent, nor anything about ACLs
mv, cp, etc (but not rsync) are completely aware of resource forks from
Tiger on. This is well documented and known on the Mac forums.
So shu
On Jun 23, 2009, at 12:20 PM, Tobias Weber wrote:
In article ,
Philip Semanchuk wrote:
I think resource forks are now stored as extended attributes, and
No
I'll take your word for it because I was just guessing, but then why
do the xattrs in the example I gave show a resource fork?
On Jun 23, 2009, at 10:54 AM, Diez B. Roggisch wrote:
Tobias Weber wrote:
Hi,
which is the best way to copy files on OS X? I want to preserve
resource
forks and extended attributes.
Are these still relevant on OSX? I've always only copied files
directly, and
never had any troubles.
Tobias Weber wrote:
> Hi,
> which is the best way to copy files on OS X? I want to preserve resource
> forks and extended attributes.
Are these still relevant on OSX? I've always only copied files directly, and
never had any troubles.
Diez
--
http://mail.python.org/mailman/listinfo/python-list