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

View file

@ -248,6 +248,9 @@ while [ "$i" -lt "$no_shares" ]; do
destination_dir="$c_dest/${INTERVALL}.${destination_date}.$$" destination_dir="$c_dest/${INTERVALL}.${destination_date}.$$"
last_dir=$(ls -d "$c_dest/${INTERVALL}."?* 2>/dev/null | sort -n | tail -n 1) 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 # only copy if a directory exists
if [ "$last_dir" ]; then if [ "$last_dir" ]; then