#!/bin/bash rsync -avz -e ssh /private/var/log/special-folder/ @:/private/var/log/special-folder/
chmod a+x
and save as .sh in: /Library/Scripts/
macOS Support Resources and Information
#!/bin/bash rsync -avz -e ssh /private/var/log/special-folder/ @:/private/var/log/special-folder/
chmod a+x
and save as .sh in: /Library/Scripts/
#!/bin/bash rsync -avz -e ssh /private/var/log/special-folder/ @:/private/var/log/special-folder/
chmod a+x
and save as .sh in: /Library/Scripts/
Open Text Edit, found in Applications, once in Text Edit, click “New Document”.
Next, write the Bash Script, as below:
#!/bin/bash echo hello world
chmod 700 FirstScript