Folder Modification Dates -- possible to override this behavior?

Opening a previously unopened folder causes its modification date to change -- a system behavior that aggravates me to no end. Is there a way of overriding or supressing this behavior with a Unix command?
Also, is there any way to force a folder's modification date to revert to its creation date?
-=iSchwartz=-

Hi,
I don't know if it's possible to change that behaviour, but there are ways to (batch) change the modification date to the same as the creation date and vice versa. I used this with scans of old pictures to regain correct sorting in iPhoto because they had no EXIF date.
You can use Miana to set the desired dates or Twotade to equal the 2 dates Here are the links:
http://www.limit-point.com/Utilities.html#Miana
http://www.limit-point.com/Utilities.html#Twotade
Hope this helps a little!
Björn

Similar Messages

  • Folder modification dates spontaneously changing

    I discovered that a limited batch of folders on several different hard drives had all taken on the same modification date, which was several days ago. It is truly maddening because I keep the contents of may enclosing folders sorted by modification date for critical reasons, and now these spontaneously changed folders are far out of order.
    To make it more maddening, I'm using a program designed to allow changing of the modification dates, which has been working fine on most of them, to change the dates to the same as the latest date of a folder's enclosed contents, but one of them keeps changing it's modification date to right now if I merely twirl down its "carrot" or viewing arrow in list view!
    I've been doing this a long time and have never encountered anything quite as mysterious or frustrating. Does anybody have any idea what could have caused this?
    LATE NOTE: I had downloaded and run the Onyx program to fix an issue that OpenPGP had with contextual menus not showing up. Their page recommended running the Automation pane of  Onyx as the solution. I just found out that I ran that on the same date as the folder modification date changes. Could it be the culprit, and if so, how and why?

    Thanks, Eric. I still don't understand why, though, some of those folders became something I'd never seen before: folders that would change their modification date even if the "carrot" were twirled down. It's sure bizarre behavior. And in the middle of trying to solve that, suddenly my two external hard drives became inexplicably read-only. Even though the "Info" window showed that I had read/write access, above the permissions section it said the disk was read only, and even when unlocking the permissions lock, it all was greyed out.
    I found a strange suggestion in this discussion group to use DiskUtility to do nothing but verify those drives. I did—and suddenly they were all correct in the permissions department. I swear. I've never seen anything remotely like any of this.
    I'm ready to order a custom tinfoil hat for my Mac.

  • Multiple copies of same message accumulate in Drafts folder. How do we correct this behavior?

    My wife is the buyer for our business. She will begin an email to a supplier at some point in the day, and will build upon it throughout the day, bouncing between the email and the Point of Sale system and catalogs and supplier websites (and other non-related things) until she is satisfied with her order, then she will send it off. It seems that every time she leaves the message that she is composing a copy of it is made in the drafts folder. She she'll get a dozen or more copies of the same draft accumulating in there. That makes it cluttered and confusing - especially since she will often have as many as ten different emails that she is working on throughout the day. (It's a complex world and she is a complex person!) The drafts folder becomes very full.
    Normally, if she exits from a message that she is composing (a draft) it asks if she wants to save it. She says yes, but all of those earlier copies still exist and do not go away until she manually deletes them. This can take a lot of time and once in a while she accidentally deletes the latest copy.
    Maybe there is a setting that corrects this, but I cannot find it. From our perspective something is broken. Oddly, it doesn't do this on my system, but does do it on the computer in our store, too. Any help would be greatly appreciated.
    Summary to reproduce:
    1. Start a new email and add some text to it.
    2. Go off and do some other work.
    3. Come back and add some more to it.
    4. Make a few loops back to #2 then go on.
    5. Exit from the email without sending. Click on "save a copy in drafts".
    6. Go look at the drafts folder and it will have multiple earlier drafts of the same message.
    7. While manually deleting excess drafts, accidentally delete the most recent one.
    8. Jump up and down, cursing and throw something at your spouse who has been unable to fix this problem on his own.

    Ick. So it can't just work sensibly? Sensible would be either autosave overwrites previously autosaved versions or all autosaved versions would be deleted when the message is finally sent. Allowing previous message versions to accumulate endlessly might be beneficial to someone, but does not seem like sensible default behavior.

  • Modification date reset to Jan 1970

    I have a problem where the modification date of files in the finder has ben set to the first days in January 1970.
    Can anyone advise me on the best way to fix this?
    Kind regards
    Hans

    Hans Gunnarsson wrote:
    This is a 4 month old iMac and the system clock is not resetting.
    I'm glad you told us that, I thought it was the 14" PB that you have listed. It's odd that a PRAM battery would fail on a new iMac but the default modification dates are the kind of behavior you get from a bad PRAM battery. Since, your clock is controlled by the server it would not exhibit itself in an inaccurate clock.
    Have you tried resetting PRAM?
    http://support.apple.com/kb/HT1379
    -mj

  • Using todays date as default for this function in the package

    Dear all;
    please find attached the following sample data and syntax
    create table tbl_one
      id varchar2(200),
      place varchar2(300),
      create_date date
    insert into tbl_one
      (id, place, create_date)
    values
      ('D', 'MN', to_date('3/3/2011', 'MM/DD/YYYY'));
    insert into tbl_one
      (id, place, create_date)
    values
      ('X', 'DC', to_date('3/4/2011', 'MM/DD/YYYY'));
    insert into tbl_one
      (id, place, create_date)
    values
      ('A', 'NY', to_date('3/31/2011', 'MM/DD/YYYY'));package from PL/SQL developer
    body ----------
    create or replace package P_test is
      -- Public type declarations
    type cur is ref cursor;
    function test_fn
    from_period in varchar2,
    to_period in varchar2
    ) return cur;
    end P_test;
    spec ----------------------
    create or replace package body P_test is
    function test_fn
    from_period in varchar2,
    to_period in varchar2
    ) return cur as
    my_cur cur;
    Begin
      open my_cur for
      select p.id,
             p.place
      from tbl_one p
      where trunc(p.create_date) >= to_date(from_period, 'MM-DD-YYYY')
      and trunc(p.create_date) <= to_date(to_period, 'MM-DD-YYYY');
    return my_cur;
    end test_fn;
    end P_test;now I was just wondering how do I get the to_period to have a default value of todays date

    user13328581 wrote:
    I tried that already but it doesnt work unfortunately it shows no display...the only other way i can think of is use several if statement to check and then do a select into....however i just feel there is a better way to do it.
    Edited by: user13328581 on Mar 31, 2011 1:09 PMDefine it doesn't work.
    SQL> CREATE PROCEDURE dt_test (p_start_dt IN VARCHAR2,
      2                            p_end_dt   IN VARCHAR2 DEFAULT TO_CHAR(sysdate, 'MM-DD-YYYY')) AS
      3  BEGIN
      4     DBMS_OUTPUT.Put_Line ('Start is: '||p_start_dt);
      5     DBMS_OUTPUT.Put_Line ('End is: '||p_end_dt);
      6  END;
      7  /
    Procedure created.
    SQL> exec dt_test('01-01-2011', '02-28-2011');
    Start is: 01-01-2011
    End is: 02-28-2011
    PL/SQL procedure successfully completed.
    SQL> exec dt_test('01-01-2011');
    Start is: 01-01-2011
    End is: 03-31-2011Or are you always passing two parameters with the end date possibly null like this:
    SQL> exec dt_test('01-01-2011', null);
    Start is: 01-01-2011
    End is:
    PL/SQL procedure successfully completed.If that is you case then you can do something like:
    SQL> CREATE OR REPLACE PROCEDURE dt_test (p_start_dt IN VARCHAR2,
      2                                       p_end_dt   IN VARCHAR2) AS
      3  BEGIN
      4     DBMS_OUTPUT.Put_Line ('Start is: '||p_start_dt);
      5     DBMS_OUTPUT.Put_Line ('End is: '||COALESCE(p_end_dt, sysdate));
      6  END;
      7  /
    Procedure created.
    SQL> exec dt_test('01-01-2011', null)
    Start is: 01-01-2011
    End is: 31-MAR-2011
    PL/SQL procedure successfully completed.So your predicate would become more like:
    trunc(p.create_date) <= COALESCE(to_date(to_period, 'MM-DD-YYYY'), TRUNC(sysdate);John

  • I attempted to import pics from iphoto to a folder on my desktop but somehow clicked desktop so 45,000 pics loaded, now computer freezes after trying to load everything.  possible to reverse this?  options?  restore hd from time machine?  pls help!!!

    long story short...i attempted to import pics from iphoto to a folder on my desktop but somehow clicked desktop so 45,000 pics loaded to my desktop and now my computer freezes up after trying to load everything, and i'm not able to just drag the photos into the folder.  is it possible to reverse this?  what are my options?  restore hd from time machine?  
    a further question to restoring my hd from a previous backup on time machine...it says it will erase the hd.  does it actually erase everything or does it just erase anything that may have been added or downloaded since that backup?  this is confusing to me.
    another problem which is part of the original problem is it seems that when i connect my iphone to my computer and iphoto uploads my pics...it doesn't just upload new ones, it duplicates and uploads every picture again...which is why i have 45,000 pics...they are 40,000 duplicates!  what's up with that? 
    I have a macbook pro, and recently updated the os to Yosemite.  the iphoto app is out of date, but i'll worry about that once i can figure out how to get all those pics off the desktop.  also, i recently purchased and installed 8g of new ram, but that hasn't seemed to help. 
    any advice would be appreciated! 
    thanks!!

    thanks for replying. 
    the booting and walking away and then attempting to browse and clean method is what i've been trying to do.  it won't let me drag and drop and just freezes up and goes to sleep after 2 minutes.  it's a never ending battle with very few results. which is why i questioned the method of just restoring the hd from a time machine backup.
    do you think restoring the hd from time machine will resolve the issue with all pics on the desktop?  and everything will be as it was from the date i restore it from?  sorry, as you can tell, i'm not overly computer savvy. 
    i have a really old desktop mac...i can try connecting the two...how does one boot a mac in 'target mode'? 
    as for the iphoto cleaning and organizing issue...that is what i was trying to accomplish with importing them to a folder.  was going to browse and clean from there...but somehow imported to desktop which is what's complicating everything.  once i get them off the desktop i can work on the iphoto issue...which as i mentioned...i didn't take 45,000 pics...i've just taken about 4,500 over the last few years, and they are being duplicated in iphoto.  this was my attempt to clean it out entirely and start over.  it will basically be a lot of deleting.
    one problem, seems to lead me to more...which is just my luck.  :-) 
    thanks again, for your help.

  • Opening Nested folders changes the modification date of the parent folder

    This has been bugging me for some time and is very odd...
    If I open a folder that is nested inside another folder it changes the modification date of the parent folder to today's date and time, even though I have not made any changes to the folders contents, or even viewed any of the contents.
    I have posted this question on other forums and no one has been able to reproduce this on their systems.
    I have multiple macs, using a combination of 10.4 and 10.5, connected via an AEBS and this only seems to occur when I am connected to my network.
    All machines have been setup using a migration from a previous machine going way back to my original OSX installation and various iterations of Powerbooks, iBooks, iMacs, Minis, MacBooks etc...
    Can anyone throw any light as to what is causing this?
    Many thanks,

    Hi Ben,
    I have multiple macs, using a combination of 10.4 and 10.5, connected via an AEBS and this only seems to occur when I am connected to my network.
    I'm not sure about this, but I think that when it happens that network time and date is automatically being set.
    Dimaxum

  • What is changing the modification date of every folder?

    Almost every folder and subfolder on my hard drive has the same modification date and time but they were not actually modified. The modification dates on individual files within are still unique. I looked around in the logs for some event at the date and time but couldn't find anything. What could cause this?

    Hi,
    take a look at LogMiner
    regards
    vlado

  • Why does this script changes modification date???

    Hello All,
    I am using this script with an Acrobutton to advise my users of the current PDF version.
    var stmDoc = Collab.documentToStream(this)
    var strDoc = util.stringFromStream(stmDoc);
    var strVer = strDoc.substr(5,3)
    app.alert({cMsg: "The PDF version is: " + strVer, nIcon: 3, nType: 0, cTitle: "PDF Version Check"});
    Problem is that when closing the document, even though not prompted, the file is saved (assumed, since the modification date changes).
    Is there anything about this script that is doing this?

    I added a "this.dirty = false;" to the end, but it does not do as I had hoped. The pdf does not prompt for a save, which is what I understand the dirty flag to be effecting. The modification date changes anyway. Am I not using the dirty flag correctly? Thanks in advance for your help.

  • Is this behavior possible here?

    Hi!
    I have this page here which uses the swap image behavior when
    you roll over the icons to view the larger image. But what I would
    like to do is then click on the large image to "open browser
    window". I know how I would do it on the main large image that is
    first shown by default. But is this possible to have a behavior on
    the other two images that are part of the swap image behavior? If
    so how?
    Page is
    HERE
    CSS is
    HERE
    Thanks!

    It would not be possible using DW's standard ImageSwap
    behavior. You'd have
    to either hack into the javascript, or use a different
    method. Having the
    different images in hidden layers which are made visible
    onclick would be
    one way to do it. Then you could apply a different link to
    each larger
    image.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "kit02" <[email protected]> wrote in message
    news:geaken$bei$[email protected]..
    > Hi!
    >
    > I have this page here which uses the swap image behavior
    when you roll
    > over
    > the icons to view the larger image. But what I would
    like to do is then
    > click
    > on the large image to "open browser window". I know how
    I would do it on
    > the
    > main large image that is first shown by default. But is
    this possible to
    > have a
    > behavior on the other two images that are part of the
    swap image behavior?
    > If
    > so how?
    > Page is
    http://www.hauppauge.co.uk/site/wintv7/index.html
    > CSS is
    http://www.hauppauge.co.uk/css/gallery_styles.css
    >
    > Thanks!
    >

  • The Finder Lies, Doesn't Update File Sizes or Modification Dates, Etc.

    When I save a file to my HD's (internal or otherwise), there's no guarantee that when I open a Finder window to view that file (see its file size, etc.) that the file will:
    • appear at all
    • if it does appear, that the file size will be correct, and/or
    • the modification date will not be correct
    Sometimes, yes, files will appear with all the requisite, updated information immediately. Other times it will take minutes, or hours, or even days before the Finder updates the file info (if the file even shows up at all).
    Also, simply opening a folder seems to change the modification date of that folder. That seems totally bizarre to me.
    This behavior has been going on ever since I can remember, and now it's at the point where it's causing serious problems.
    So... is there a fix for this? Or, is there a way to "refresh" a Finder window to force it to show current file information?
    Oh, one more thing... I just re-installed my system from a zero'd hard drive so everything about it, particularly Finder prefs, are all brand spanking new. It's disheartening to see that within 48 hours of a fresh install that I'm seeing these kinds of problems.
    Help? Advice?
    -=iSchwartz=-

    I suggest for starters you update to 10.4.8.
    If the problem continues here are two solutions:
    1) Quit Finder. You can enable the Finder "Quit" menu by pasting this command in Terminal:
    defaults write com.apple.finder QuitMenuItem YES
    This will allow you to quit Finder by either right-clicking the dock icon or from the "Finder" menu.
    2) Run an Applescript:
    Click here to launch Script Editor.
    tell application "Finder" to update folder (folder of the front window as string)
    This script will update the front open window. You can drag the script to the toolbar for quick access in all windows. For that, it might need to be saved "As Application", I don't remember.

  • How can I get the File Creation Date OR Last modification date of the incoming file in my message?

    I need the Last Modification Date and the File creation date of the consumed file in my message, is it possible to do that using a custom pipeline component in decode stage or any other way? The FILE namespace have File creation time that actually gives
    the time the file was dropped in receive location, not the actual creation time. Also this namespace doesn't have the Last Modification Date.

    Yes,
    As per MSDN, "File.FileCreationTime" - "Defines the time that the file was written to the folder that is monitored by the File receive
    adapter."
    So for File Modified DateTime, only option I can think of is create a custom file adapter (updating the File Adapter code from SDK ..\SDK\Samples\AdaptersDevelopment\File Adapter) and access the received file with the code something like the following, which
    you give you the Last Modified date
    string sLastModifiedDate = File.GetLastWriteTime(path).ToString();
    If there are any business requirements which drives you this, then this the only way I can think of. Because you can access the file properties only in adapter, when it passes through adapter file is handled as stream and you will only have context properties
    to access the file related properties.
    If you're looking for implement this for any audit purpose or for your any technical purpose, then you can suggest some alternate than using File updated datetime.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Modification date changes although nothing changed

    Hi all,
    any time I open a document with pages the modification date changes although nothing was changed.
    This is not very logical and I don't like that behavior.
    I wonder if it is possible to avoid this.
    Any clues?
    Greetings, Ronald Hofmann

    Yes, of course, what else. Thank you.
    There is only one date shown at all.
    It shows when last opened and when last changed.
    But in my opinion it's not very important when it was last opened.
    Much more important is the information when the document was changed.

  • Why did finder change some modification dates when making a copy?

    I just copied a very large number of files using Finder and I discovered that some modification dates were changed.  For me this wasn't a problem, but it's strange and I don't understand why it happened.  I wonder if anyone else has seen a similar behavior.  Here are the details:
    I have a Mac Pro running under OSX 10.7.4 with 15 GB of RAM and 7 hard disks.  The disks details are as follows:
    Internal 1 is 500 GB and came with the computer.  It is my boot drive and has a variety of material.  It's about 75% full.
    Internal 2 is 1 TB.  It has OSX 10.6.8 on it for use as a repair disk if I need to run TechTools against my main drive or if I need to run SpringCleaning.  It is about 85% full and contains mainly videos of one type or another.
    Internal 3 is 2 TB.  It is 98% full and contains mostly .jpg files.  This drive has a single root folder with 3-4 levels of subfolders.  Some subfolders have as many as 5000 folders in them.  The bottom level folders each have anywhere from 20 to 300 files.
    Internal 4 is 3 TB.  It was purchased last week because drives 2 and 3 are getting full.  My intent is to copy drive 3 to 4, then copy the data from 2 to 3.  I'll probably retire 2 since my SMART checks are showing problems.
    External 1 is 3 TB and is used only for Time Machine to backup internal 1.
    External 2 is 4 TB and is used to backup Internal 2 and 3 using ChronoSync.  I'll be changing this to 3 and 4 soon.
    4 days ago I installed drive 4 and used Finder to copy the root folder from drive 3 to 4.  That took about a day.  I then ran ChronoSync in Trial Sync mode to see if everything was OK.  (Perhaps I shold have used ChronSync to make the transfer.)  I discovered that about 8,000 files had discrepancies.  I wrote a simple AppleScript to identify any meta data differences between the files on the two drives.  It's been running for about 12 hours and I suspect it will take more than a day to finish.  So far all that script has found are modification date differences.  I've examined about a dozen of the files and they look OK.
    Anyone seen anything like this?  Any ideas what happened?  I have three user accounts on this Mac Pro.  The copy was made in one account with nothing else running, but I was doing a variety of work in another account.  The third account was not active.
    I just did a better search of this forum and discovered a similar case from 2010.

    I just found the following in another thread:
    Actually yes. In my case it was my antivirus McAfee doing it. If I copied the files after disabling it, the file dates were preserved.
    BTW if only few files are copied, this problem does not arise.
    YMMV.
    --neeraj00
    Since I have McAfee installed on my Mac Pro I suspect that was the cause.

  • Project Server 2010 - Modification date and name of the person who made the last change in the project

    Hello everybody
    I'm with a doubt.
    I got in the business
    environment Project Server 2010 and
    would like to get the publication date,modification
    date and name
    of the person who made
    the last change in
    the project. It is possible
    to doby the native
    resources or is
    there any query in
    SQL Server to perform a
    query of this information.
    Thank you.
    Obrigado por contactar o fórum Microsoft Technet!

    Hi Hezequias,
    You can get the ProjectModifiedDate column in MSP_EPMProject_userView in the Reporting DB where you can
    get the data based on the projectUID. 
    The "last saved" date in the draft DB (be aware that querying in the draft DB is not supported by MS).
    For the "last modified by", I think it is not stored in any place.
    But you can develop custom code upon publishing the project (Event BeforePublish), writing the current
    date and username automatically into a custom enterprise field.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

Maybe you are looking for