mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 06:03:47 -05:00
17 lines
645 B
Markdown
17 lines
645 B
Markdown
# syncTemplate.sh
|
|
This sync script template provides a mechanism to use either [rsync][1] or [unision][2] to keep two directories in sync.
|
|
|
|
## Usage
|
|
|
|
1. Execute the template and follow the prompts to create a new script for your needs
|
|
2. Execute the new script to create a new configuration file.
|
|
3. Edit the information within that configuration file.
|
|
4. 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.
|
|
|
|
|
|
|
|
[1]: https://rsync.samba.org
|
|
[2]: http://www.cis.upenn.edu/~bcpierce/unison/
|