I’m developing on a MAC and I’m very new to scripting on a MAC.
Basically I’d like to have a script that can copy files from one location to another so I can run it in the terminal rather than having to copy the files manually. So, I wonder if anyone out there can provide me with a script that;-
Checks the content of the destination folder against that of the source folder and where there is a difference, copies the files from the source folder to the destination folder.
-OR IF THAT IS NOT POSSIBLE-
a script that simply copies files from one location to another.
Oops! Sorry about the post. I found a far better way to achieve what I wanted to do.
Essentially I am doing frontend development for mobile phone apps, so I have a local repository where the frontend files sit and a number of other directories for the core app code for each device (ios, iphone, blackberry e.t.c). So i needed a way to copy updated files from the frontend directory to each core mobile app directory. Turns out symbolic links are a far better approach and remove the need for the script/command to copy files from one directory to another.