Re: copyPath command doesn't copy as the Finder. Help!
Re: copyPath command doesn't copy as the Finder. Help!
- Subject: Re: copyPath command doesn't copy as the Finder. Help!
- From: Lorenzo Puleo <email@hidden>
- Date: Fri, 05 Apr 2002 10:04:30 +0200
>
> The modification date is correct and the attributes too, but the creation
>
> date is not correct; it is the creation date of the copied file (today),
>
> and
>
> I want the same creation date of the source file, of course;
>
>
Of course you DON'T want to (presumed you want to behave consistently). If
>
you copy A to B, you just have _CREATED_ B, and thence it would be quite
>
illogical if the copy had any other creation date than just the very now.
As far as you are saying, the Finder too should copy the files this way
leaving the creation date as the today creation date of the file B...
That sounds false, and dangerous...
The concept of "copying" is different from the concept of "creation".
I can create a blank file, then copy the content of the file A to the file
B, so the file B has to have the today creation date and modification date.
That's good, but that's a simple creation and copy-content.
But if I copy a file, from Finder or from the copyPath command, I expect the
file B is a perfect copy _identical_ of the file A. Attributes, creation and
modification dates, forks, icon,...
Anyway, how could I do that? Thanks
--
Lorenzo
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.