You can use the mdls -raw command to view the metadata for files on your Mac.

Example: mdls -raw /pathToYourFile

If a file was sent to you via airdrop, that file will have metadata that contains "com.apple.AirDrop". All you need to do to see all files that were sent to your Mac Computer via airdrop is run the mdfind command and search for "com.apple.AirDrop".

Example: mdfind com.apple.AirDrop

You can also use the mdfind command to search in a specific directory for certain file types.

Example:  mdfind -onlyin ~/Downloads/ com.apple.AirDrop | grep .jpg

Marianne Carroll

Marianne began her professional career as a musician, recording and touring as a violinist with the 70’s disco sensation CHIC. She then moved into music management as the Executive Director of the Aston Magna Foundation for Music, which sponsored a Summer classical music festival and NEA-funded cross-cultural educational Academy in the Berkshires as well as a concert series at the Metropolitan Museum.

Speak with an Apple Certified expert today

We’d love to discuss your business challenges, even if you’re not sure what your next step is. No pitch, no strings attached.

Let's Talk