diff --git a/lib/copy/copyFiles_matching b/lib/copy/copyFiles_matching index 7870cfe..64a3744 100644 --- a/lib/copy/copyFiles_matching +++ b/lib/copy/copyFiles_matching @@ -8,9 +8,10 @@ copyFiles_matching() { || cp -a \ "$sourcepath/$filename" \ "$destdir/$destfile.$extension" - echo \ + echo \ "UPDATE destination_files" \ - "SET filename=\"${filename//\"/\"\"}\"," \ + "SET filename=" \ + "\"${destdir//\"/\"\"}/${destfile//\"/\"\"}.$extension\"," \ " last_change=(" \ " SELECT last_change" \ " FROM source_files" \