From 12e624c641bddc57abc4728678ac19bd41b26e18 Mon Sep 17 00:00:00 2001 From: nick Date: Sun, 1 Jan 2023 16:18:41 -0500 Subject: [PATCH] where files are downloaded to, to avoid annoying directory structure --- fetch-logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch-logs.sh b/fetch-logs.sh index 3f98e5d..54e5940 100644 --- a/fetch-logs.sh +++ b/fetch-logs.sh @@ -22,6 +22,6 @@ do if [[ -n "$JUST_ACCESS" ]]; then scp -pr -i ${SSHKEY} "admin@${location}.nickhope.world:/var/log/apache2/access.log" ${OUTDIR} else - scp -pr -i ${SSHKEY} "admin@${location}.nickhope.world:/var/log/apache2" ${OUTDIR} + scp -pr -i ${SSHKEY} "admin@${location}.nickhope.world:/var/log/apache2/*" ${OUTDIR} fi done \ No newline at end of file