Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nelly22

macrumors 6502
Original poster
Sep 29, 2009
366
5
How i can change creation and modification date of folder to current date and time? I have tried all these settings and combinations: -a, -m and -t

set timee to (do shell script "date +'%Y%m%d%H%M.%S'" as string)
do shell script "touch -amt " & timee & " /Users/nelly/Desktop/tst"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.