Jump to content

Where would one put shell scripts or other unix command line script for MacOS X?


Recommended Posts

Where would one put shell scripts or other unix command line script for MacOS X?

Such as this script https://github.com/TyrfingMjolnir/FileMakerBackupRemoval in which I wrote to curate offline backups.

This script would run anywhere in combination with an rsync

# crontab -l
5 * * * * /usr/bin/rsync -av /Volumes/backup/fms03/* /Users/backup/fms03/ && /usr/bin/chown -R backup:staff /Users/backup/fms03 && /usr/bin/chmod -R 760 /Users/backup/fms03

this crontab is from a remote backup such as Synology, FreeNAS, Joyent SmartOS, docker, k8, linux, or other unixes such as MacOS X. Any nix flavour that runs SMB, SSH, or NFS really.

 

What I'm asking is for the forum moderator to add `Unix/Linux shell script automation` under `OS Level Database Automation` next to `AppleScript & Automator` and `Windows automation`

Edited by ggt667
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.