summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Cozic <laurent22@users.noreply.github.com>2017-04-25 16:05:01 +0100
committerGitHub <noreply@github.com>2017-04-25 16:05:01 +0100
commit4b15ea8f7547daeb34092351d6d5b2743e05fe05 (patch)
treefd360a4d193b92c9515eafe752f27b4d49f93c57
parent674d5a1878a287fb51d6c80878a387bdcc4c1e58 (diff)
parent9367b9b80bef4d8fc9c80984c8739eaa38812e59 (diff)
Merge pull request #72 from jpartain89/master
Changed `flock` line
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 895ce1f..f56ebe6 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ To display the rsync options that are used for backup, run `./rsync_tmbackup.sh
The use of a lock-file is recommended for larger backups. [Flock(1)](https://github.com/discoteq/flock) is an easy way to get lock files and can be installed with Homebrew. Please refer to its GitHub page for more details. To use flock with the script, see this example:
- flock -n /tmp/rsync.lock sh -c 'sh rsync_tmbackup.sh /home /mnt/backup_drive'
+ flock -n /tmp/rsync.lock sh -c 'bash rsync_tmbackup.sh /home /mnt/backup_drive'
# Features