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


Click here to return to the 'Set files' modification time from Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set files' modification time from Finder
Authored by: ccstone on Dec 15, '09 08:19:39AM
tell application "Finder"
	set sel to selection as alias list
	repeat with ndx in sel
		set modification date of ndx to (current date)
	end repeat
end tell
If you need to touch files often then bind a keyboard shortcut to this script in FastScripts or another script runner and go to town. (Note: this works in Leopard and Snow Leopard but needs tweaking to work in Tiger.)

[ Reply to This | # ]