From 1867cb6efa74e8fae7c89091faa9a6708adccbb0 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Thu, 18 Jan 2024 13:42:27 +0100 Subject: [PATCH] change path to symlink --- scripts/copy-structure-data.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/copy-structure-data.sh b/scripts/copy-structure-data.sh index cf5a38b6..5fee0cd1 100644 --- a/scripts/copy-structure-data.sh +++ b/scripts/copy-structure-data.sh @@ -1,3 +1,4 @@ #!/bin/bash -find * -type d -exec sh -c 'for d in "$@"; do (cd "/usr/src/app/public/$d"; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done' argv0 {} + +# find * -type d -exec sh -c 'for d in "$@"; do (cd "/usr/src/app/public/$d"; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done' argv0 {} + +find * -type d -exec sh -c 'for d in "$@"; do (cd "/usr/share/nginx/html/$d"; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done' argv0 {} + \ No newline at end of file -- GitLab