From 6451509161c658ba53a7e4b5031760a0e99bb1d4 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 9 Jul 2021 11:30:49 -0700 Subject: [PATCH] simple update for fullfilelist --- sync/sync-to-prod.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sync/sync-to-prod.sh b/sync/sync-to-prod.sh index ca26a59..70d6d8e 100644 --- a/sync/sync-to-prod.sh +++ b/sync/sync-to-prod.sh @@ -18,4 +18,9 @@ if [ $ret_val -eq "0" ]; then # shellcheck disable=SC2035 sudo -l && find **/* -maxdepth 0 -type d | parallel --will-cite -j 18 sudo rsync -av --chown=10004:10005 --progress --relative --human-readable \ {} "${TARGET}" + + # Full file list update + cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; } + find . > fullfilelist fi +