Changing behavior of "Date Modified"/"Date Created"

Discussion in 'macOS' started by karohan, Apr 26, 2011.

  1. karohan macrumors 6502

    Joined:
    Jun 25, 2010
    #1
    When I download a file, if it was an old file, it will have the date modified of the time it was actually last modified. However, this makes it inconvenient when using stacks for my Download folder because it won't be visible with the first few items available in the stacks because it isn't considered "recent" even though I just downloaded the item.

    Therefore, is there a way to change the "Date Modified" of downloaded files the date of their download as opposed to their actual date of modification? This way, they would be easily accessible by my Downloads stack.
     
  2. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #2
    Launch Terminal, type
    Code:
    touch /path/to/file
    or
    Code:
    touch <drag file to Terminal window>
    and hit Enter.
     
  3. karohan thread starter macrumors 6502

    Joined:
    Jun 25, 2010
    #3
    Thanks for the reply. Is there a way I can automate this behavior however? It isn't much quicker than physically opening the file if I have to run a command on it every time I download a new file.
     

Share This Page