From 1b439fe162a1852c800e7932ddbe899736532715 Mon Sep 17 00:00:00 2001 From: abrown38 Date: Fri, 25 Jul 2025 14:36:51 +0100 Subject: [PATCH] add study in exported file name --- transfer.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/transfer.sh b/transfer.sh index 0e03b93..6851824 100755 --- a/transfer.sh +++ b/transfer.sh @@ -82,6 +82,8 @@ function main() { [[ $run_export ]] && transfer::export [[ $run_purge ]] && purge_files [[ $run_email ]] && email + + exit 0 } function transfer::import() { @@ -258,7 +260,7 @@ function transfer::export() { continue } - new_filename="$zone-$project-$file" + new_filename="$zone-$project-$study-$file" logging::debug "[EXPORT] $filepath ==RENAME==> $new_filename" read -r sha256 _ < <(sha256sum "$filepath")