Hi all…
I’m trying to write a portion of a script that checks for a folder within the home directory, and if its not there, it makes it. After the directory is confirmed, it checks for a file.
Error i’m getting is
tell application "Finder"
if the folder ".ssh" of home exists then
do shell script "script here"
else if make new folder at home with properties {name:".ssh"} then
do shell script "script here"
end if
end tell
Thanks!
Brian