mirror of
https://github.com/laurent22/rsync-time-backup
synced 2024-11-10 14:14:16 +00:00
Update README.md
This commit is contained in:
parent
c44911155e
commit
1964baa4a2
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ To display the rsync options that are used for backup, run `./rsync_tmbackup.sh
|
|||
|
||||
## Lock file
|
||||
|
||||
The use of a lock-file is recommended for larger backups. Flock(1) is an easy way to get lock files and can be installed with Homebrew. Please refer to its GitHub [page](https://github.com/discoteq/flock) for more details. To use flock with the script, see this example:
|
||||
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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue