Hi,
I have a couple of questions, related to my ongoing quest to find the ultimate backup script. Basically, I want to set up a script to backup the files in my user space once a day. I used to use Applescript to do this, but it required me to actively execute the script every day, and now that I've migrated to os X my applescripts don't work anymore. So I'm thinking of ditching them and writing some scripts in the shell language (is C-shell X's default shell?)
Here are my questions:
1) what is the unix command to determine if a file/folder exists?
2) can I write a script that is automatically executed once a day, say at 4 am?
and a sort of meta-question, is there a good book available for learning UNIX as it pertains to OS X?
I have a couple of questions, related to my ongoing quest to find the ultimate backup script. Basically, I want to set up a script to backup the files in my user space once a day. I used to use Applescript to do this, but it required me to actively execute the script every day, and now that I've migrated to os X my applescripts don't work anymore. So I'm thinking of ditching them and writing some scripts in the shell language (is C-shell X's default shell?)
Here are my questions:
1) what is the unix command to determine if a file/folder exists?
2) can I write a script that is automatically executed once a day, say at 4 am?
and a sort of meta-question, is there a good book available for learning UNIX as it pertains to OS X?