mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-08 05:03:46 -05:00
645 B
645 B
syncTemplate.sh
This sync script template provides a mechanism to use either rsync or unision to keep two directories in sync.
Usage
- Execute the template and follow the prompts to create a new script for your needs
- Execute the new script to create a new configuration file.
- Edit the information within that configuration file.
- Execute the script again. It will optionally encrypt your configuration file to keep your passwords safe, and then sync your directories.
For help and additional options, run the script with the -h flag.