Hi there,
Im struggling with below if someone can help
I would like to create an automatic script that runs each night at a designated time to back up files from a specific local folder to a folder on a server,
I have attempted to automate this using automater and I have had some success so far but I have encountered a problem with it. Basically if the server is already connected it throws back an error after it attempts to connect to the server again and does not proceed with the next steps. I was wondering if it would be easier to do this process in a script.
it would need to do the following
- Copy files from specific folder on local machine.
- Connect to specific server location. If server is already connected then ignore this step.
- Paste files from local machine to a specific folder on the server.
I understand I can use automater to run this script via a calendar event but would need some assistance with the scripting,
Any help would be hugely appreciated.
Many thanks.