From 56758159a2d6ce0599166d86f53b46b6ccac54af Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 23 Jul 2014 12:11:06 +0200 Subject: [PATCH] Update. --- rsync-luks.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/rsync-luks.sh b/rsync-luks.sh index 87daf19..1b244c2 100755 --- a/rsync-luks.sh +++ b/rsync-luks.sh @@ -17,11 +17,6 @@ # Contact for comments & bug reports # ######################################################################### -# This script takes two filenames as arguments, mounts them as luks -# volumes, and synchronizes their contents. - -# IT CHANGES THE CONTENT OF THE SECOND ARGUMENT - set -e set -o pipefail @@ -29,9 +24,9 @@ if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then cat < -Mounts both files as LUKS volume and rsync the source to the dest. It -first performs a dry-run and then asks for interactive confirmation -before synchronizing for real. +Mounts both files as LUKS volumes and rsyncs the source to the +dest. It first performs a dry-run and then asks for interactive +confirmation before synchronizing for real. Comments and bug reports to francois@fleuret.org @@ -86,7 +81,7 @@ rsync -n --itemize-changes --delete --progress -axz "${VOL_SRC}/" "${VOL_DST}/" # Ask for confirmation and synchronize echo "**********************************************************************" -echo "* Synchronize [y]/N ?" +echo "* Press 'y' to synchronize, anything else to cancel." read -n 1 KEY -- 2.39.5