Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I download an item, I would like the modified date to be the date the item was downloaded. Is this possible somehow?

share|improve this question
add comment

1 Answer

It is possible.

You can change the modified date of a file using this command

touch -mt YYYYMMDDhhmm

where YYYYMMDDhhmm is the date/time you'd like to set it for. Combined with the Add Folder Actions (where you can assign an Applescript that runs when a file is added to a folder), you should be able to create an Applescript to do this (using the touch command above).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.