Howdy All,
I'm hoping someone here can point in the direction of the best path for something I've been wanting to do.
I would like to create a shell script that checks for a file (Lets say a Plist) and if its NOT there, the script does XYZ functions and creates the Plist it looked for in the first place. My idea, is the script runs on a reoccurring basis and checks for the plist, as long as the plist exists, the script won't execute the addition functions. if the Plist isn't there for some reason, the script runs the additional functions and writes the Plist so it doesn't execute the additional functions again.
Does that make sense? What would be a best example of this to start with? I've been unable to find anything similar to what i've been searching for. :(
Thanks for any help in advance!