<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: File Creation Dates on Mac OS X: Clash of the Cultures</title>
	<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/</link>
	<description>Mac OS X Gordian Knots Smashed</description>
	<pubDate>Mon, 06 Oct 2008 22:40:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: Dave</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-37411</link>
		<pubDate>Thu, 12 Jun 2008 05:10:20 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-37411</guid>
					<description>&lt;p&gt;Disclaimer:  I didn't read &lt;em&gt;all&lt;/em&gt; the comments....&lt;/p&gt;

&lt;p&gt;Perhaps we should realize that we are indeed comparing apples to oranges.....&lt;/p&gt;

&lt;p&gt;For a system it is indeed plausible that there be a "creation date" which reflects the date and time that the act of adding the file to the file structure took place.&lt;/p&gt;

&lt;p&gt;This is different than, to coin a term, the "inception date" which determines the first date that the file's contents came into being or, to put it another way, became useful in some manner.&lt;/p&gt;

&lt;p&gt;For example, for a digital voice recorder of the type used to document meetings, we might set an "inception date" which, for the physical recorder, could be the same as creation date.  Upon copying that file to a hard drive for further manipulation we might end up with a file creation date for the day and time it was copied, whereas the "inception date" remains the one originally supplied by the recorder.  &lt;/p&gt;

&lt;p&gt;Perhaps it should depend truly on whether a file is being copied from a domain outside of the original (i.e. from a recorder to the computer) or whether the contents are acutally being authored and stored within the same domain (recorded and saved on a recorder &#38;&#38; recorded and saved on an actual computer)&lt;/p&gt;

&lt;p&gt;It is my thought that there really needs to be some attention paid to interoperability standards when it comes to copying, moving, or otherwise performing some "location" related activities with a file.&lt;/p&gt;

&lt;p&gt;Of course, one should need to be able to set the "inception date" to mark the starting period of the files "data" validity.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Disclaimer:  I didn&#8217;t read <em>all</em> the comments&#8230;.</p>

<p>Perhaps we should realize that we are indeed comparing apples to oranges&#8230;..</p>

<p>For a system it is indeed plausible that there be a &#8220;creation date&#8221; which reflects the date and time that the act of adding the file to the file structure took place.</p>

<p>This is different than, to coin a term, the &#8220;inception date&#8221; which determines the first date that the file&#8217;s contents came into being or, to put it another way, became useful in some manner.</p>

<p>For example, for a digital voice recorder of the type used to document meetings, we might set an &#8220;inception date&#8221; which, for the physical recorder, could be the same as creation date.  Upon copying that file to a hard drive for further manipulation we might end up with a file creation date for the day and time it was copied, whereas the &#8220;inception date&#8221; remains the one originally supplied by the recorder.  </p>

<p>Perhaps it should depend truly on whether a file is being copied from a domain outside of the original (i.e. from a recorder to the computer) or whether the contents are acutally being authored and stored within the same domain (recorded and saved on a recorder &amp;&amp; recorded and saved on an actual computer)</p>

<p>It is my thought that there really needs to be some attention paid to interoperability standards when it comes to copying, moving, or otherwise performing some &#8220;location&#8221; related activities with a file.</p>

<p>Of course, one should need to be able to set the &#8220;inception date&#8221; to mark the starting period of the files &#8220;data&#8221; validity.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ncprius2</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-31394</link>
		<pubDate>Wed, 16 Apr 2008 03:52:10 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-31394</guid>
					<description>&lt;p&gt;To Aunt Tillie's older brother: roscomouse  &#124;  March 29th, 2008 at 18:23 with the 1-hour issue.&lt;/p&gt;

&lt;p&gt;Certainly contact LaCie.&lt;/p&gt;

&lt;p&gt;Do you happen to be in a timezone 1 hour from GMT? Reason I ask is I seem to recall that HFS (and most unices, and maybe NTFS) all keep the date stamps for files in GMT. (The times in the "ls" listing are adjusted based on your tz timezone setting). But some FAT filesystems keep date stamps for files in local time. See what the timezone setting of your lacie nas looks like?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>To Aunt Tillie&#8217;s older brother: roscomouse  |  March 29th, 2008 at 18:23 with the 1-hour issue.</p>

<p>Certainly contact LaCie.</p>

<p>Do you happen to be in a timezone 1 hour from GMT? Reason I ask is I seem to recall that HFS (and most unices, and maybe NTFS) all keep the date stamps for files in GMT. (The times in the &#8220;ls&#8221; listing are adjusted based on your tz timezone setting). But some FAT filesystems keep date stamps for files in local time. See what the timezone setting of your lacie nas looks like?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ncprius2</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-31392</link>
		<pubDate>Wed, 16 Apr 2008 03:39:48 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-31392</guid>
					<description>&lt;p&gt;A related can of worms is that there is no date associated with the resource fork. This makes life difficult for backup software trying to figure out if the fork changed, like rsync3 used in bombich CCC.&lt;/p&gt;

&lt;p&gt;And, this means, to Aunt Tillie, if she does a file "Get Info" and tells that pdf to "Open with" Preview instead of Adobe, the "Date Modified" changes in the Finder, even though the pdf file contents (data fork) is unchanged. You can't undo the change of  "Open with" to get back the original date, either. (Oddly enough, changing the status to locked (or unlocked) does NOT change the "Date Modified". ) &lt;/p&gt;

&lt;p&gt;I think there are lots of Aunt Tillies who expect:&lt;/p&gt;

&lt;p&gt;(A.) the creation date should be preserved when copying&lt;/p&gt;

&lt;p&gt;(B.) the mod date should not change if you want to change the default application (for opening *.pdf or any other kind of files)&lt;/p&gt;

&lt;p&gt;In Windows, A and B seem to be what happens, and this forum (and others) are full of folks who want it to "just work" as easily on the Mac.  sigh...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A related can of worms is that there is no date associated with the resource fork. This makes life difficult for backup software trying to figure out if the fork changed, like rsync3 used in bombich CCC.</p>

<p>And, this means, to Aunt Tillie, if she does a file &#8220;Get Info&#8221; and tells that pdf to &#8220;Open with&#8221; Preview instead of Adobe, the &#8220;Date Modified&#8221; changes in the Finder, even though the pdf file contents (data fork) is unchanged. You can&#8217;t undo the change of  &#8220;Open with&#8221; to get back the original date, either. (Oddly enough, changing the status to locked (or unlocked) does NOT change the &#8220;Date Modified&#8221;. ) </p>

<p>I think there are lots of Aunt Tillies who expect:</p>

<p>(A.) the creation date should be preserved when copying</p>

<p>(B.) the mod date should not change if you want to change the default application (for opening *.pdf or any other kind of files)</p>

<p>In Windows, A and B seem to be what happens, and this forum (and others) are full of folks who want it to &#8220;just work&#8221; as easily on the Mac.  sigh&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: roscomouse</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-25751</link>
		<pubDate>Sat, 29 Mar 2008 17:23:05 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-25751</guid>
					<description>&lt;p&gt;I'm Aunt Tillie's older brother, and I've been using Macs since the beginning of time. Now I have G4s and a G5 running 10.4.11 and my problem is that all the files on my LaCie Gigabit Ethernet Disk with embedded Windows XP suddenly change both the CREATION TIME and the MODIFICATION time on ALL files by exactly one hour. This creates havoc when backing up to my to Linux-based network drives. My first though is that it had something to do with the change in Daylight Savings Time, but the same thing happened a short while after copying all my files from one drive to the other so that they would again have the same dates and times. Can anyone here help to preserve my sanity?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m Aunt Tillie&#8217;s older brother, and I&#8217;ve been using Macs since the beginning of time. Now I have G4s and a G5 running 10.4.11 and my problem is that all the files on my LaCie Gigabit Ethernet Disk with embedded Windows XP suddenly change both the CREATION TIME and the MODIFICATION time on ALL files by exactly one hour. This creates havoc when backing up to my to Linux-based network drives. My first though is that it had something to do with the change in Daylight Savings Time, but the same thing happened a short while after copying all my files from one drive to the other so that they would again have the same dates and times. Can anyone here help to preserve my sanity?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Rob</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-22311</link>
		<pubDate>Wed, 06 Feb 2008 23:43:38 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-22311</guid>
					<description>&lt;p&gt;It is really a matter of perspective.  Some people would say that when you copy a file, you are creating a NEW file.  A new file should have the creation date set to the date the file was copied.&lt;/p&gt;

&lt;p&gt;On the other hand, some people would say that when you copy a file you are really not creating a new file but you you just making a copy.  And by definition, a copy should be identical in all aspects, including file creation.&lt;/p&gt;

&lt;p&gt;In my view, the real solution is to add a new option to cp  that will preserve the creation date.  Apple PLEASE do that for those who believe a copy should be identical in all aspects.&lt;/p&gt;

&lt;p&gt;And while you are at it, Apple please fix the symlink ownership bug.  When you copy a symlink using cp, the symlink ownership is NOT properly copied.  (Still exists in 10.4.11)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It is really a matter of perspective.  Some people would say that when you copy a file, you are creating a NEW file.  A new file should have the creation date set to the date the file was copied.</p>

<p>On the other hand, some people would say that when you copy a file you are really not creating a new file but you you just making a copy.  And by definition, a copy should be identical in all aspects, including file creation.</p>

<p>In my view, the real solution is to add a new option to cp  that will preserve the creation date.  Apple PLEASE do that for those who believe a copy should be identical in all aspects.</p>

<p>And while you are at it, Apple please fix the symlink ownership bug.  When you copy a symlink using cp, the symlink ownership is NOT properly copied.  (Still exists in 10.4.11)</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jamie Lokier</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-22077</link>
		<pubDate>Sun, 03 Feb 2008 15:45:20 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-22077</guid>
					<description>&lt;blockquote&gt;&lt;i&gt;So I go ahead, turn the picture by 90 degrees back in Photoshop, and save the file. Result: Creation date still 2002, modification date 2005.&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;But many applications &lt;i&gt;don't&lt;/i&gt; preserve the creation time when you save the file over the original.  They write to a different file name, then rename the new file over the original.  Or, they rename (or link) the original to a backup name.&lt;/p&gt;

&lt;p&gt;This is so if you run out of battery (or any other crash) when saving, you don't lose the file.  On the next boot, you'll get the old file, or the new one, but at least you will get one of them.&lt;/p&gt;

&lt;p&gt;If a program just writes over the original file, and there's a system crash, you lose both versions - very bad.&lt;/p&gt;

&lt;p&gt;What this means is, in general, creation dates are often &lt;i&gt;not&lt;/i&gt; preserved when clicking "Save" in applications, especially good ones ported from other unixes, unless the application has OSX-specific code to copy the creation-date attribute.&lt;/p&gt;

&lt;p&gt;I agree the creation-date attribute is sometimes useful (but also that EXIF date in a photo file is more relevant).  But it does require application support if you want to preserve it between saves.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<blockquote><i>So I go ahead, turn the picture by 90 degrees back in Photoshop, and save the file. Result: Creation date still 2002, modification date 2005.</i></blockquote>

<p>But many applications <i>don&#8217;t</i> preserve the creation time when you save the file over the original.  They write to a different file name, then rename the new file over the original.  Or, they rename (or link) the original to a backup name.</p>

<p>This is so if you run out of battery (or any other crash) when saving, you don&#8217;t lose the file.  On the next boot, you&#8217;ll get the old file, or the new one, but at least you will get one of them.</p>

<p>If a program just writes over the original file, and there&#8217;s a system crash, you lose both versions - very bad.</p>

<p>What this means is, in general, creation dates are often <i>not</i> preserved when clicking &#8220;Save&#8221; in applications, especially good ones ported from other unixes, unless the application has OSX-specific code to copy the creation-date attribute.</p>

<p>I agree the creation-date attribute is sometimes useful (but also that EXIF date in a photo file is more relevant).  But it does require application support if you want to preserve it between saves.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Al Maloney</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-21921</link>
		<pubDate>Thu, 31 Jan 2008 16:03:20 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-21921</guid>
					<description>&lt;p&gt;re: 21 dan&lt;/p&gt;

&lt;p&gt;I do not have the skill to write scripts.
Could you post or send me the script which you use?&lt;/p&gt;

&lt;p&gt;Thanx
Al Maloney&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>re: 21 dan</p>

<p>I do not have the skill to write scripts.
Could you post or send me the script which you use?</p>

<p>Thanx
Al Maloney</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Aunt Tillie</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-19321</link>
		<pubDate>Sun, 02 Dec 2007 21:50:51 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-19321</guid>
					<description>&lt;p&gt;Aunt Tillie here.  I don't do scripts, and in any case I want the filename to have a mnemonic utility for me, relating to the contents of the file, in English.&lt;/p&gt;

&lt;p&gt;I just want to preserve two pieces of data:
1) the File Name Creation Date
2) the File Contents Last Change Date.&lt;/p&gt;

&lt;p&gt;That should not be so hard to do.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Aunt Tillie here.  I don&#8217;t do scripts, and in any case I want the filename to have a mnemonic utility for me, relating to the contents of the file, in English.</p>

<p>I just want to preserve two pieces of data:
1) the File Name Creation Date
2) the File Contents Last Change Date.</p>

<p>That should not be so hard to do.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: brumeister</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-18754</link>
		<pubDate>Mon, 19 Nov 2007 17:36:15 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-18754</guid>
					<description>&lt;p&gt;In the second paragraph of my post, the constant definition ATTR CMN CRTIME should have underscore characters between the three sets of letters.  The BLOG software apparently perceives underscore characters as implying italics...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In the second paragraph of my post, the constant definition ATTR CMN CRTIME should have underscore characters between the three sets of letters.  The BLOG software apparently perceives underscore characters as implying italics&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: brumeister</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-18752</link>
		<pubDate>Mon, 19 Nov 2007 17:31:33 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-18752</guid>
					<description>&lt;p&gt;Sorry to come so late to this party, but I must add the following:&lt;/p&gt;

&lt;p&gt;A user should not depend on the ctime of a file for any purpose as it's designed for use by the filesystem and nothing else.  It is immutable.&lt;/p&gt;

&lt;p&gt;However, this is not to say that there shouldn't be some form of metadata for tracing a file's creation in user land.  I believe that the confusion here is in that the ctime is being confused as the file's "Creation Time" when, in fact, it's the inode's "Change Time" (man 2 stat).  The HFS attribute ATTR&lt;em&gt;CMN&lt;/em&gt;CRTIME (man 2 getattrlist) should be a separate entity and not tied to the BSD ctime entity.  As such, the use of the HFS CRTIME attribute could happily coexist with the BSD ctime.&lt;/p&gt;

&lt;p&gt;I'm digging into this further, but I believe that an understanding that the BSD ctime entity isn't the same as the HFS CRTIME attribute will lessen the animosity between the two camps.&lt;/p&gt;

&lt;p&gt;Tim&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry to come so late to this party, but I must add the following:</p>

<p>A user should not depend on the ctime of a file for any purpose as it&#8217;s designed for use by the filesystem and nothing else.  It is immutable.</p>

<p>However, this is not to say that there shouldn&#8217;t be some form of metadata for tracing a file&#8217;s creation in user land.  I believe that the confusion here is in that the ctime is being confused as the file&#8217;s &#8220;Creation Time&#8221; when, in fact, it&#8217;s the inode&#8217;s &#8220;Change Time&#8221; (man 2 stat).  The HFS attribute ATTR<em>CMN</em>CRTIME (man 2 getattrlist) should be a separate entity and not tied to the BSD ctime entity.  As such, the use of the HFS CRTIME attribute could happily coexist with the BSD ctime.</p>

<p>I&#8217;m digging into this further, but I believe that an understanding that the BSD ctime entity isn&#8217;t the same as the HFS CRTIME attribute will lessen the animosity between the two camps.</p>

<p>Tim</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jim Witte</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-14790</link>
		<pubDate>Sun, 26 Aug 2007 21:49:37 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-14790</guid>
					<description>&lt;p&gt;An interesting fact is that the touch command will actually set the creation date (and mod date) if the current system time is before the date you give touch.  Is this a bug, side-effect, or undocumented feature?&lt;/p&gt;

&lt;p&gt;Aside from photos, creation date ordering is very useful for keeping track of audio files that are recorded in sequence (if you don't want to go though route of names like '[YYMMDDhhss]-[file name]')  It's very annoying that LAME does not preserve creation date information somehow.  I have a bunch of files that are so ordered - fortunately, I put the date and month in the name, but the creation &lt;em&gt;time&lt;/em&gt; information is still lost.. (which I care about, in this instance)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>An interesting fact is that the touch command will actually set the creation date (and mod date) if the current system time is before the date you give touch.  Is this a bug, side-effect, or undocumented feature?</p>

<p>Aside from photos, creation date ordering is very useful for keeping track of audio files that are recorded in sequence (if you don&#8217;t want to go though route of names like &#8216;[YYMMDDhhss]-[file name]&#8217;)  It&#8217;s very annoying that LAME does not preserve creation date information somehow.  I have a bunch of files that are so ordered - fortunately, I put the date and month in the name, but the creation <em>time</em> information is still lost.. (which I care about, in this instance)</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: maurits</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-13761</link>
		<pubDate>Tue, 07 Aug 2007 03:09:22 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-13761</guid>
					<description>&lt;p&gt;that I call poor man's metadata :-) Would be nice if we didn't have to bother witch hacks like that. It's extremely robust though, that I have to admit.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>that I call poor man&#8217;s metadata :-) Would be nice if we didn&#8217;t have to bother witch hacks like that. It&#8217;s extremely robust though, that I have to admit.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Dan</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-13759</link>
		<pubDate>Tue, 07 Aug 2007 02:45:14 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-13759</guid>
					<description>&lt;p&gt;If the problem is keeping track of when photos were taken, do what I do. I have a script that renames each file, using as the file name the time the picture was taken, and the camera that was used.&lt;/p&gt;

&lt;p&gt;So for a photo taken on August 2, 2007 at 2:45:02 PM with my LZ2 camera, the filename becomes:&lt;/p&gt;

&lt;p&gt;20070802@14450201-LZ2.jpg&lt;/p&gt;

&lt;p&gt;The '01' at the end of the numbers says that this was the first picture taken during that second of the day (my camera can take more than one picture per second). Not readable enough for you? Then put hyphens in: 2007-08-02@14-45-02-01-LZ2.jpg&lt;/p&gt;

&lt;p&gt;Still not readable enough? Use month names: 2007-Aug-02@14-45-02-01-LZ2.jpg&lt;/p&gt;

&lt;p&gt;The reason it's year, month, day and not some other order like month, day, year is so things will sort properly.&lt;/p&gt;

&lt;p&gt;I can't imagine this system breaking any time soon.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If the problem is keeping track of when photos were taken, do what I do. I have a script that renames each file, using as the file name the time the picture was taken, and the camera that was used.</p>

<p>So for a photo taken on August 2, 2007 at 2:45:02 PM with my LZ2 camera, the filename becomes:</p>

<p>20070802@14450201-LZ2.jpg</p>

<p>The &#8216;01&#8242; at the end of the numbers says that this was the first picture taken during that second of the day (my camera can take more than one picture per second). Not readable enough for you? Then put hyphens in: 2007-08-02@14-45-02-01-LZ2.jpg</p>

<p>Still not readable enough? Use month names: 2007-Aug-02@14-45-02-01-LZ2.jpg</p>

<p>The reason it&#8217;s year, month, day and not some other order like month, day, year is so things will sort properly.</p>

<p>I can&#8217;t imagine this system breaking any time soon.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ron</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-10215</link>
		<pubDate>Wed, 13 Jun 2007 05:27:24 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-10215</guid>
					<description>&lt;p&gt;I'm new to OS X 10.4.9 and OS X Server 10.4.9; I defected from the Windows world. I set up a network for a client who is having big problems with creation date issues. He relies on them as a way of tracking client documents and origination of templates and has been doing so since adopting Macintosh more than ten years ago.&lt;/p&gt;

&lt;p&gt;I managed to preserve the creation dates when I copied his files from the old OS 9 server to OS X Server. But now when one of his workers opens a file from the new server on her desktop (via a mounted sharepoint) and closes it without saving any changes made to it, the document's creation date changes. Essentially, she does a Save As and closes the original document without saving it. Or she copies and pastes text into a new document from the original document and closes the original one without saving.&lt;/p&gt;

&lt;p&gt;One would expect the new documents she created in both examples above would get new creation dates. But not the original document, which she was just using as a template.&lt;/p&gt;

&lt;p&gt;I'm not sure if this is related to the copying issues described in this discussion. So forgive me if I went astray. But if any of you can shed some light on this dilemma, it would be deeply appreciated. In any case, thank you all for your varied takes on this issue.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to OS X 10.4.9 and OS X Server 10.4.9; I defected from the Windows world. I set up a network for a client who is having big problems with creation date issues. He relies on them as a way of tracking client documents and origination of templates and has been doing so since adopting Macintosh more than ten years ago.</p>

<p>I managed to preserve the creation dates when I copied his files from the old OS 9 server to OS X Server. But now when one of his workers opens a file from the new server on her desktop (via a mounted sharepoint) and closes it without saving any changes made to it, the document&#8217;s creation date changes. Essentially, she does a Save As and closes the original document without saving it. Or she copies and pastes text into a new document from the original document and closes the original one without saving.</p>

<p>One would expect the new documents she created in both examples above would get new creation dates. But not the original document, which she was just using as a template.</p>

<p>I&#8217;m not sure if this is related to the copying issues described in this discussion. So forgive me if I went astray. But if any of you can shed some light on this dilemma, it would be deeply appreciated. In any case, thank you all for your varied takes on this issue.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: maurits</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9931</link>
		<pubDate>Sat, 09 Jun 2007 00:08:40 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9931</guid>
					<description>&lt;p&gt;Adonis was confused by the fact that Apple's tools set the creation date to the modification date upon copy.&lt;/p&gt;

&lt;p&gt;In light of this, there's little sense in testing with files that have identical creation and modification date...&lt;/p&gt;

&lt;p&gt;Turns out there's nothing new; &lt;code&gt;cp -p&lt;/code&gt; doesn't preserve creation dates on HFS+. The whole FAT32 issue is irrelevant in this context.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Adonis was confused by the fact that Apple&#8217;s tools set the creation date to the modification date upon copy.</p>

<p>In light of this, there&#8217;s little sense in testing with files that have identical creation and modification date&#8230;</p>

<p>Turns out there&#8217;s nothing new; <code>cp -p</code> doesn&#8217;t preserve creation dates on HFS+. The whole FAT32 issue is irrelevant in this context.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Adonis</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9832</link>
		<pubDate>Thu, 07 Jun 2007 05:48:40 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9832</guid>
					<description>&lt;p&gt;In case of confusion: when I say "times" or "dates" or "file times" or "file dates" or "directory times" or "directory dates", I mean date &#38; time stamps where available.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In case of confusion: when I say &#8220;times&#8221; or &#8220;dates&#8221; or &#8220;file times&#8221; or &#8220;file dates&#8221; or &#8220;directory times&#8221; or &#8220;directory dates&#8221;, I mean date &amp; time stamps where available.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Adonis</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9831</link>
		<pubDate>Thu, 07 Jun 2007 05:46:03 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9831</guid>
					<description>&lt;p&gt;Yes, in 10.3.9 (that's what I have infront of me), on an HFS+ volume, doing this:&lt;/p&gt;

&lt;p&gt;cp -pR mySrcDir/ myDestDir/&lt;/p&gt;

&lt;p&gt;will replicate the creation dates and modification dates, as shown by the Finder  [edit: this is incorrect, see my answer below -maurits]. I would hope the same would happen with 10.4.x ...&lt;/p&gt;

&lt;p&gt;As for FAT32, it does indeed have creation, modification and [last] accessed times/dates (at least when using LFN).&lt;/p&gt;

&lt;p&gt;As a side-note, I've been resorting to transfering my files via network to my Linux boxes, from which I can safely do "cp -pR" to transfer the creation files over my portable FAT32 drives. A bitch, I know, but if you gotta have it... A smaller note: Linux also does not preserve the directory creation times across FAT32 (arggg), only file times. One day I'll hopefully take a look at the code and try to fix that, or at least understand why!?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes, in 10.3.9 (that&#8217;s what I have infront of me), on an HFS+ volume, doing this:</p>

<p>cp -pR mySrcDir/ myDestDir/</p>

<p>will replicate the creation dates and modification dates, as shown by the Finder  [edit: this is incorrect, see my answer below -maurits]. I would hope the same would happen with 10.4.x &#8230;</p>

<p>As for FAT32, it does indeed have creation, modification and [last] accessed times/dates (at least when using LFN).</p>

<p>As a side-note, I&#8217;ve been resorting to transfering my files via network to my Linux boxes, from which I can safely do &#8220;cp -pR&#8221; to transfer the creation files over my portable FAT32 drives. A bitch, I know, but if you gotta have it&#8230; A smaller note: Linux also does not preserve the directory creation times across FAT32 (arggg), only file times. One day I&#8217;ll hopefully take a look at the code and try to fix that, or at least understand why!?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: maurits</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9830</link>
		<pubDate>Thu, 07 Jun 2007 05:34:08 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9830</guid>
					<description>&lt;p&gt;Adonis: thanks for your comment. You seem to imply that cp -p preserves creation dates on HFS+. Correct me if I'm wrong, but that's not the case, at least in my 10.4.9. The original problem that I blogged about still exists.&lt;/p&gt;

&lt;p&gt;With respect to FAT32, I don't know that file system well enough. Are creation dates even supported under Windows?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Adonis: thanks for your comment. You seem to imply that cp -p preserves creation dates on HFS+. Correct me if I&#8217;m wrong, but that&#8217;s not the case, at least in my 10.4.9. The original problem that I blogged about still exists.</p>

<p>With respect to FAT32, I don&#8217;t know that file system well enough. Are creation dates even supported under Windows?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Adonis</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9828</link>
		<pubDate>Thu, 07 Jun 2007 05:19:47 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-9828</guid>
					<description>&lt;p&gt;Very interesting blog topic, because simply I was likewise annoyed by the inability of Mac OS X (since early 2005 to be honest) to preserve creation dates when specifically using the -p option in cp. Now, it works fine on HFS volumes [edit: this is incorrect -maurits], but not on others, such as FAT32.&lt;/p&gt;

&lt;p&gt;One suggestion above was to make an archive for the files and keep that. Very annoying and simply useless when one deals with huge files (think movies here), because 1) it takes TOO long and 2) it requires at least 2x the space!&lt;/p&gt;

&lt;p&gt;Now the trick I came up with which worked for me, but was soon abandoned because of the above said problem, was to create an archive (with the contextual menu) or a tar file of the contents and use the (if I recall correctly) built-in archive tool to unpack it on the FAT32 volume with success. It would never preserve the creation dates for the directories, but it worked for files. You also &lt;em&gt;cannot&lt;/em&gt; use the tar tool to uncompress, because it's the one that doesn't preserve the time stamps :( And that's why the author couldn't get the tar method to work.&lt;/p&gt;

&lt;p&gt;Now as far as what Peter da Silva says "The creation date should be taken from the file’s internal metadata", I believe points to the argument that creation date is esoteric to the filesystem, in which case WHY is it even shown &lt;em&gt;anywhere&lt;/em&gt; ??? It's exactly its ability to be viewed and/or used by the user, which makes it useful, and contradicts this view of it being esoteric filesystem material.&lt;/p&gt;

&lt;p&gt;I see two sensible positions:&lt;/p&gt;

&lt;p&gt;1) file/inode creation date/time is an esoteric part of the filesystem, in which case it SHOULD NOT BE SHOWN IN THE FINDER (or even go as far as removing it from ls, etc), but subsituted with the in-file creation time, if it's available (images from cameras will have it, yet most other file formats lack such provision), or not be shown at all. This should force tools and file formats to adopt metadata formats for themselves (and an accompanying nightmare of multitudes of different formats shall spring forth)&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;2) file/inode creation date/time is not an esoteric part of the filesystem, but USER METADATA, in which case it should be shown by the Finder, and should be preserved when the contents of the file have not been modified, no matter WHERE the file exists, or on all &lt;em&gt;exact&lt;/em&gt; copies made from it (I believe the author of the blog made this lucidly clear by explaining the dichotomy between the digital and analogue realm)&lt;/p&gt;

&lt;p&gt;Since I subscribe to the latter ideology (because I've not seen a convincing argument for the former, and I'm one of the almost bearded types) I'll finish this off by asking: has anyone else found a way to copy files (and keep in mind, large files not suitable for a compress + then decompress method) to a FAT32 volume while preserving creation dates?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very interesting blog topic, because simply I was likewise annoyed by the inability of Mac OS X (since early 2005 to be honest) to preserve creation dates when specifically using the -p option in cp. Now, it works fine on HFS volumes [edit: this is incorrect -maurits], but not on others, such as FAT32.</p>

<p>One suggestion above was to make an archive for the files and keep that. Very annoying and simply useless when one deals with huge files (think movies here), because 1) it takes TOO long and 2) it requires at least 2x the space!</p>

<p>Now the trick I came up with which worked for me, but was soon abandoned because of the above said problem, was to create an archive (with the contextual menu) or a tar file of the contents and use the (if I recall correctly) built-in archive tool to unpack it on the FAT32 volume with success. It would never preserve the creation dates for the directories, but it worked for files. You also <em>cannot</em> use the tar tool to uncompress, because it&#8217;s the one that doesn&#8217;t preserve the time stamps :( And that&#8217;s why the author couldn&#8217;t get the tar method to work.</p>

<p>Now as far as what Peter da Silva says &#8220;The creation date should be taken from the file’s internal metadata&#8221;, I believe points to the argument that creation date is esoteric to the filesystem, in which case WHY is it even shown <em>anywhere</em> ??? It&#8217;s exactly its ability to be viewed and/or used by the user, which makes it useful, and contradicts this view of it being esoteric filesystem material.</p>

<p>I see two sensible positions:</p>

<p>1) file/inode creation date/time is an esoteric part of the filesystem, in which case it SHOULD NOT BE SHOWN IN THE FINDER (or even go as far as removing it from ls, etc), but subsituted with the in-file creation time, if it&#8217;s available (images from cameras will have it, yet most other file formats lack such provision), or not be shown at all. This should force tools and file formats to adopt metadata formats for themselves (and an accompanying nightmare of multitudes of different formats shall spring forth)</p>

<p>or</p>

<p>2) file/inode creation date/time is not an esoteric part of the filesystem, but USER METADATA, in which case it should be shown by the Finder, and should be preserved when the contents of the file have not been modified, no matter WHERE the file exists, or on all <em>exact</em> copies made from it (I believe the author of the blog made this lucidly clear by explaining the dichotomy between the digital and analogue realm)</p>

<p>Since I subscribe to the latter ideology (because I&#8217;ve not seen a convincing argument for the former, and I&#8217;m one of the almost bearded types) I&#8217;ll finish this off by asking: has anyone else found a way to copy files (and keep in mind, large files not suitable for a compress + then decompress method) to a FAT32 volume while preserving creation dates?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter da Silva</title>
		<link>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-7766</link>
		<pubDate>Tue, 24 Apr 2007 12:06:55 +0000</pubDate>
		<guid>http://blog.plasticsfuture.org/2006/06/27/mac-os-file-creation-dates/#comment-7766</guid>
					<description>&lt;p&gt;"Let’s look at the following illustrative example. Say I have a picture taken in 2002, which I downloaded from my camera at that point. So it’s got both its creation date and its modification date (identically) set to that point in 2002."&lt;/p&gt;

&lt;p&gt;The creation date should be taken from the file's internal metadata, unless you have reason to suspect that the clock in your camera is incorrect. The date at which the file was copied from the camera to your computer is just as accidental as the date the file was restored from backup.&lt;/p&gt;

&lt;p&gt;For the businessman who is attempting to use the creation date of the file to establish a legal case: I wish you luck. If you care, maintain your documents under a change control system, or include dates in the documents themselves, and if you care about the legal status of the documents maintain a copy on your attorney's servers.&lt;/p&gt;

&lt;p&gt;Metadata that is relevant to the user should be maintained in the file itself, or (at worst) in its location in the file system. All the HFS+ crack (including HFS+ extended attributes, Spotlight metadata, but not including HFS+ ACLs or BSD flags that are relevant to access control) should be agressively targeted for deletion by Apple, and any tool that depends on its existence (such as Rosetta) needs to be fixed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;Let’s look at the following illustrative example. Say I have a picture taken in 2002, which I downloaded from my camera at that point. So it’s got both its creation date and its modification date (identically) set to that point in 2002.&#8221;</p>

<p>The creation date should be taken from the file&#8217;s internal metadata, unless you have reason to suspect that the clock in your camera is incorrect. The date at which the file was copied from the camera to your computer is just as accidental as the date the file was restored from backup.</p>

<p>For the businessman who is attempting to use the creation date of the file to establish a legal case: I wish you luck. If you care, maintain your documents under a change control system, or include dates in the documents themselves, and if you care about the legal status of the documents maintain a copy on your attorney&#8217;s servers.</p>

<p>Metadata that is relevant to the user should be maintained in the file itself, or (at worst) in its location in the file system. All the HFS+ crack (including HFS+ extended attributes, Spotlight metadata, but not including HFS+ ACLs or BSD flags that are relevant to access control) should be agressively targeted for deletion by Apple, and any tool that depends on its existence (such as Rosetta) needs to be fixed.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
