From 34270115cbe1406a4f28a340474f17bbb2d437e4 Mon Sep 17 00:00:00 2001 From: Corey Salzano <938411+csalzano@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:14:43 -0400 Subject: [PATCH] Fixes a bug when downloading "All of wp-content" that put a wp-content folder inside the wp-content folder. --- exfil.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exfil.sh b/exfil.sh index 717d84b..17f5745 100644 --- a/exfil.sh +++ b/exfil.sh @@ -15,7 +15,7 @@ # # extracts WordPress databases and files # -# version 1.7.3 +# version 1.8.0 # @@ -151,7 +151,7 @@ EOF a) # All of wp-content echo "Downloading the wp-content folder..." - sshpass -p "${SITE[ssh_password]}" rsync -azv -e 'ssh -p '"${SITE[ssh_port]}" "${SITE[ssh_user_at_host]}":"${SITE[production_path]}wp-content" "${SITE[local_path]}wp-content" + sshpass -p "${SITE[ssh_password]}" rsync -azv -e 'ssh -p '"${SITE[ssh_port]}" "${SITE[ssh_user_at_host]}":"${SITE[production_path]}wp-content" "${SITE[local_path]}" ;; esac