- Save the
plist
file to$HOME/Library/LaunchAgents/
, renamed appropriately (e.g.username.UpdateSomeRepository.plist
) - Copy
update.sh
to the repository you wish to sync. Change the message if you want. - Replace user/machine specific variables in the
plist
file- Replace
gyourick
in your with your username (whoami
). - Update the
<key>Program</key>
value to the path of yourupdate.sh
. - Change the time the script runs under
<key>StartCalendarInterval</key>
.Hour
is in 24-hour time and uses your machine's local time.
- Replace
- Run
launchctl load -w $HOME/Library/LaunchAgents/username.UpdateSomeRepository.plist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[req] | |
distinguished_name = req_distinguished_name | |
x509_extensions = v3_req | |
prompt = no | |
[req_distinguished_name] | |
CN = lvh.me | |
[v3_req] | |
keyUsage = keyEncipherment, dataEncipherment | |
extendedKeyUsage = serverAuth | |
subjectAltName = @alt_names |
Create a folder titled backup_script in your World of Warcraft\_retail_\ directory.
Within this folder, download and save the attached backup.bat (right click, save as
)
file. With a text editor like Notepad or Notepad++
open the backup.bat file and make the following changes:
- Change the
backup_dir=
line to the path where you'd like to save your backup.