Skip to content

Commit

Permalink
Fixes a bug when downloading "All of wp-content" that put a wp-conten…
Browse files Browse the repository at this point in the history
…t folder inside the wp-content folder.
  • Loading branch information
csalzano committed Sep 25, 2024
1 parent d2c8ac4 commit 3427011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exfil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# extracts WordPress databases and files
#
# version 1.7.3
# version 1.8.0
#


Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3427011

Please sign in to comment.