Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7011601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:08:54+00:00 2026-05-27T22:08:54+00:00

I just realize that, unlike in windows environment, where copying a file to a

  • 0

I just realize that, unlike in windows environment, where copying a file to a new location will change its creation date, in Mac OSX, the copied file still preserves its original creation date and modification date value.

So is there a way to find out which files were added into a specific folder after a certain point of time?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:08:54+00:00Added an answer on May 27, 2026 at 10:08 pm

    If Spotlight indexing is turned on on the system you want to query (by default it is) and the file is not in a network file location, files will have a kMDItemDateAdded metadata attribute after they have been added (e.g. by copying) to a folder, containing date and time on which they were added.

    You can query this attribute with mdls from the terminal, or with NSMetadataQuery programmatically, or you could use some MDItem.h routines (see the code example at https://stackoverflow.com/a/6931995/521923).

    From the MDItem.h file: “@constant kMDItemDateAdded: This is the date that the file was moved into the current location. Not all files will have this attribute. Not all file systems support this attribute.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've done numerous searches and I realize that I can just download this file
I just realize that in my forms I couldn't save name like O'Brian (It
I just realize that maybe I was mistaken all the time in exposing T[]
I'm doing custom-rolled view tracking on my website, and I just realize that I
I just realize I've been doing that and it seems like the objects' properties
While I realize that I could just show the form off-screen and hide it,
I realize that this question is not unlike asking someone for the name of
I just happened to realize that NSTimer is still firing when i'm navigating away
I just came to realize that my project is currently using methods that are
I just reviewed my code and I realize that I never use var However

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.