A bash script that backups a directory to an AFP share with rsync.
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
backup-to-afp.sh

README.md

backup-to-afp.sh

backup-to-afp.sh is a bash script that backups a directory to an AFP share with rsync.

Usage:

backup-to-afp.sh DIRECTORY AFP_URL

Example:

backup-to-afp.sh /path/to/MyDirectory afp://192.168.0.1/MyDirectoryBackup

If you don't provide a username and password in the url it will check the OS X Keychain for a password for the current user. If not found it will prompt for credentials.