Touch problem

Discussion in 'Mac Programming' started by nelly22, Dec 23, 2012.

  1. nelly22 macrumors 6502

    Sep 29, 2009
    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"

Share This Page