Tell the user that the backup is in progress...

This commit is contained in:
Nico Schottelius 2005-12-08 14:15:45 +01:00
parent 5c822159ca
commit f7446e8516
1 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,9 @@ while [ "$i" -lt "$no_shares" ]; do
destination_dir="$c_dest/${INTERVALL}.${destination_date}.$$"
last_dir=$(ls -d "$c_dest/${INTERVALL}."?* 2>/dev/null | sort -n | tail -n 1)
# give some info
echo "|-> Beginning to backup, this may take some time..."
# only copy if a directory exists
if [ "$last_dir" ]; then