Added check if destination is still reachable
This commit is contained in:
parent
b872adb7fe
commit
1393aad7c0
@ -173,6 +173,9 @@ ConvertFiles() {
|
||||
CopyFiles() {
|
||||
while read -r line
|
||||
do
|
||||
if [[ ! -f "$dest" ]]; then
|
||||
VerboseOutput 5 "Destination not reachable (anymore)"
|
||||
fi
|
||||
VerboseOutput 1 "Copying: $line"
|
||||
if [[ "$dest/$line" = */* ]]; then
|
||||
mkdir -p "$dest/${line%/*}";
|
||||
|
Loading…
Reference in New Issue
Block a user