Tell the user that the backup is in progress...
This commit is contained in:
parent
5c822159ca
commit
f7446e8516
1 changed files with 3 additions and 0 deletions
|
@ -249,6 +249,9 @@ while [ "$i" -lt "$no_shares" ]; do
|
||||||
|
|
||||||
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
|
||||||
# echo cp -al "$last_dir" "$destination_dir"
|
# echo cp -al "$last_dir" "$destination_dir"
|
||||||
|
|
Loading…
Reference in a new issue