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