Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change the creation date of files using relative dates ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the creation date of files using relative dates
Authored by: philostein on Jan 04, '12 02:41:18AM
Here's a multi-file selection version:

Change creation and modification dates (multiple files).scpt

It runs a Terminal command for each file, so caution is advised if you're changing a shed-load of files. I've only done minimal testing, so let me know if it works well for you.

I wanted to run one command for each batch like this:

Users/phil/Library/Application Support/ChangeFileDates/ChangeFileDates' -cDate '1/3/12 18:00:00' -mDate '1/3/12 18:00:00' -file '/Users/phil/Test folders/Test folder 1/Test copy 2.rtf' -file '/Users/phil/Test folders/Test folder 1/Test copy.rtf' -file '/Users/phil/Test folders/Test folder 1/Test.rtf'

or this:

'/Users/phil/Library/Application Support/ChangeFileDates/ChangeFileDates' -cDate '1/1/09 18:00:00' -mDate '1/1/09 18:00:00' -file '/Users/phil/Test folders/Test folder 1/Test copy 2.rtf' '/Users/phil/Test folders/Test folder 1/Test copy.rtf' '/Users/phil/Test folders/Test folder 1/Test.rtf'

but ChangeFileDates would only act on the last -file prepended path. Anyone know how to do this?

[ Reply to This | # ]