From a042de9aa5e49d21da040149237ba50c436ca34c Mon Sep 17 00:00:00 2001 From: Mike Peralta Date: Sat, 1 Sep 2018 05:23:05 -0700 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 45431a5..149106d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,16 @@ Honestly this is more of a wrapper around rsync's beautiful functionality. It si For daily use, you'll probably want to create a small bash script that calls this script with the parameters you want, and then call that with cron daily (or whatever your preference is) ```#!/bin/bash -/path/to/mikes-backup --log-dir "/my/log/dir" --source-dir "/home/or/whatever" --remote-host "my-awesome-host.home" --remote-user "me" --remote-dir "/path/to/backup/destination/on/remote/" --ssh-key "/home/me/.ssh/id_rsa" --exclude "/my/dumb/downloads" +/path/to/mikes-backup \ + --log-dir "/my/log/dir" \ + --source-dir "/home/or/whatever" \ + --remote-host "my-awesome-host.home" \ + --remote-user "me" \ + --remote-dir "/path/to/backup/destination/on/remote/" \ + --ssh-key "/home/me/.ssh/id_rsa" \ + --exclude "/my/dumb/downloads" \ + --exclude "/my/even/dumber/downloads" + ``` ## Questions