Do shell scrip-command dont work. It always gives error, no matter how i tweak it. Thanks
tell application “Finder”
if exists “Macintosh HD:Users:Jack:.Trash:Something:” then
move “Macintosh HD:Users:Jack:.Trash:Something:” to “Macintosh HD:Users:Jack:Documents:BackUp:”
set rightNow to (do shell script “date +‘%y%m%d %H%M%S’” as string)
set name of folder “Macintosh HD:Users:Jack:Documents:BackUp:Something:” to rightNow & " someTextHere"
set itemToZip to “Macintosh HD:Users:Jack:Documents:BackUp:Something:” & rightNow & " someTextHere"
do shell script "gzip " & quoted form of POSIX path of itemToZip
end if
end tell